dotfiles/.emacs.d/snippets/erlang-mode/loop

9 lines
118 B
Plaintext

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