Mercurial > hg > Members > kokubo > emacs
view .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 |
line wrap: on
line source
# -*- mode: snippet -*- # key: fn # name: guarded function # condition: (= (length "fn") (current-column)) # expand-env: ((yas-indent-line 'fixed)) # contributor: Luke Hoersten <luke@hoersten.org> # -- ${1:f} :: ${2:a} ${3:-> ${4:b}} $1 ${5:x} | ${6:conditional} = ${8:undefined} | ${7:conditional} = ${9:undefined}$0