diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/snippets/text-mode/erlang-mode/loop | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/erlang-mode/loop b/emacs.d/snippets/text-mode/erlang-mode/loop new file mode 100644 index 0000000..0205802 --- /dev/null +++ b/emacs.d/snippets/text-mode/erlang-mode/loop @@ -0,0 +1,8 @@ +#name : loop(...) -> receive _ -> loop(...) end. +# -- +${1:loop}($2) -> + receive + ${3:_} -> + $1($2) + end. +$0 |