Last active
January 7, 2016 01:01
-
-
Save agnaldo4j/39ab6d7df4ba18a893e1 to your computer and use it in GitHub Desktop.
Executando código dinâmico em elixir
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
Code.eval_quoted( | |
quote do: unquote(1) + unquote(1 + 1) | |
) | |
#code to be parsed 1 + (1 + 1) | |
#result of execution {3, []} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment