Remove metaprogramming-related keyword list koans

Too advanced at this point. Will considering including something like
this in #21.
This commit is contained in:
Jay Hayes
2016-05-05 18:12:15 -05:00
parent 27b8926aaa
commit 1c182a2c8c
2 changed files with 0 additions and 24 deletions

View File

@@ -37,26 +37,4 @@ defmodule KeywordLists do
assert transform.("good", upcase: true) == ___
end
def foo(kw_list), do: kw_list
koan "Actually function bodies are a sneaky use of keyword lists" do
list = foo do
:good
end
assert list == [do: ___]
end
def iff(kw_list), do: kw_list
koan "Turns out our beloved if statements are also using keyword lists" do
list = iff do
:this
else
:that
end
assert list == [do: ___, else: ___]
end
end