Mercurial > hg > Members > kokubo > emacs
annotate .emacs.d/haskell-mode/snippets/haskell-mode/fn.guarded @ 1:d3ed59c42041 default tip
add zshrc
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 21 Apr 2014 04:33:08 +0900 |
parents | 2764b4f45f9f |
children |
rev | line source |
---|---|
0 | 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 |