Skip to content

Instantly share code, notes, and snippets.

@laynor
Created Oct 23, 2017
Embed
What would you like to do?
defmodule Foo do
def proc(l) do
IO.inspect(l)
receive do
msg -> proc([msg|l])
end
end
def procMain do
proc([])
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment