about summary refs log tree commit diff
path: root/users/glittershark/emacs.d/snippets/haskell-mode/hedgehog-generator
blob: 68863f70542bc9e6ba1decba7cf85d8d1508c5b1 (plain) (blame)
1
2
3
4
5
6
7
8
# key: gen
# name: Hedgehog Generator
# expand-env: ((yas-indent-line (quote fixed)))
# --
gen${1:Foo} :: Gen $1
gen$1 = do
  $2
  pure $1{..}