my-emacs-d/elpa/yasnippet-20160924.2001/snippets/haskell-mode/case
2016-10-20 10:27:10 +02:00

9 lines
177 B
Plaintext

# -*- mode: snippet -*-
# name: case
# key: case
# expand-env: ((yas-indent-line 'fixed))
# --
case ${1:var} of
${2:cond} -> ${3:value}
$0
otherwise -> ${4:other}