comparison .emacs.d/haskell-mode/snippets/haskell-mode/fn.guarded @ 0:2764b4f45f9f

1st commit
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Mon, 21 Apr 2014 04:30:59 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:2764b4f45f9f
1 # -*- mode: snippet -*-
2 # key: fn
3 # name: guarded function
4 # condition: (= (length "fn") (current-column))
5 # expand-env: ((yas-indent-line 'fixed))
6 # contributor: Luke Hoersten <luke@hoersten.org>
7 # --
8 ${1:f} :: ${2:a} ${3:-> ${4:b}}
9 $1 ${5:x}
10 | ${6:conditional} = ${8:undefined}
11 | ${7:conditional} = ${9:undefined}$0