Skip to content

Instantly share code, notes, and snippets.

@quamen
Created November 17, 2010 08:46
Show Gist options
  • Save quamen/703154 to your computer and use it in GitHub Desktop.
Save quamen/703154 to your computer and use it in GitHub Desktop.
loop(NextNode) ->
io:format("Spawned with NextNode ~p~n", [NextNode]),
receive
NewNext when NextNode =:= [] ->
loop(NewNext)
end.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment