Created
March 31, 2014 00:35
-
-
Save asonge/9882748 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
iex(2)> quote do | |
...(2)> defmodule Blah do | |
...(2)> def test(omg, :wtf) when omg > 3 do | |
...(2)> :ok | |
...(2)> end | |
...(2)> end | |
...(2)> end | |
{:defmodule, [context: Elixir, import: Kernel], | |
[{:__aliases__, [alias: false], [:Blah]}, | |
[do: {:def, [context: Elixir, import: Kernel], | |
[{:when, [context: Elixir], | |
[{:test, [], [{:omg, [], Elixir}, :wtf]}, | |
{:>, [context: Elixir, import: Kernel], [{:omg, [], Elixir}, 3]}]}, | |
[do: :ok]]}]]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment