josevalim/elixir — Issue #89: `for tuple in var do` raises syntax error
Author: josevalim
Created: 2012-01-08 14:51:40+00:00
State: open
Labels: Bug

Code sample:

for ({ verb, extra } in right) do
contents = quote do
defp unquote(name).(unquote(verb), [], dict) do
{ :ok, unquote(extra), dict }
end
end

Module.eval_quoted module, contents, [], __FILE__, __LINE__
end