Sunday, 15 June 2014

Elixir Macros: convert atoms into vars -



Elixir Macros: convert atoms into vars -

i want create elixir macro converts list of atoms [:a, :b] vars a, b. value of , b can -- want accomplish creating variable readable name of atom passed in. possible? if so, how?

this can done using macro.var/1

macros elixir

No comments:

Post a Comment