view .emacs.d/haskell-mode/snippets/haskell-mode/case @ 0:2764b4f45f9f

1st commit
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Mon, 21 Apr 2014 04:30:59 +0900
parents
children
line wrap: on
line source

# -*- mode: snippet -*-
# key: case
# name: case
# expand-env: ((yas-indent-line 'fixed))
# contributor: Luke Hoersten <luke@hoersten.org>
# --
case ${1:x} of
    ${2:Data} -> ${4:undefined}
    ${3:Data} -> ${5:undefined}$0