Skip to content

Instantly share code, notes, and snippets.

@rramsden
Created November 7, 2013 04:26
Show Gist options
  • Save rramsden/7348961 to your computer and use it in GitHub Desktop.
Save rramsden/7348961 to your computer and use it in GitHub Desktop.
defmodule Test do
Enum.each ["a", "b", "c"], fn(name) ->
def unquote(name) do
"works"
end
end
end
IO.puts Test.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment