Created
April 18, 2017 15:34
-
-
Save binarytemple-external/a91d1c83271c48be31005cc2429d2e56 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 Foo do | |
def plop do | |
unquote( quote do: :erlang.timestamp ) | |
end | |
end | |
iex(20)> Foo.plop | |
{1492, 529613, 146593} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment