Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save binarytemple-external/a91d1c83271c48be31005cc2429d2e56 to your computer and use it in GitHub Desktop.
Save binarytemple-external/a91d1c83271c48be31005cc2429d2e56 to your computer and use it in GitHub Desktop.
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