diff options
Diffstat (limited to 'Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case')
-rw-r--r-- | Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case new file mode 100644 index 0000000..0b2241b --- /dev/null +++ b/Emacs/.config/emacs/.config/yasnippet/snippets/haskell-mode/case @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: case +# key: case +# uuid: case +# -- +case ${1:var} of + ${2:cond} -> ${3:value} + $0 + otherwise -> ${4:other}
\ No newline at end of file |