Created
July 22, 2014 00:36
-
-
Save khia/606c51e2c4123f2d87ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Test do | |
defstruct foo: nil, bar: nil | |
for x <- @keys do # <-------------------------- HOW ???? | |
def parse(unquote(x)), do: something(x) | |
def parse(unquote(Atom.to_string(x))), do: something(x) | |
end | |
end |
Author
khia
commented
Jul 22, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment