dotfiles/.emacs.d/snippets/erlang-mode/loop
2017-12-21 17:29:29 +01:00

9 lines
118 B
Plaintext

#name : loop(...) -> receive _ -> loop(...) end.
# --
${1:loop}($2) ->
receive
${3:_} ->
$1($2)
end.
$0