tvl-depot/users/aspen/emacs.d/snippets/haskell-mode/hedgehog-generator

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
142 B
Text
Raw Normal View History

2018-03-30 00:10:07 +02:00
# key: gen
# name: Hedgehog Generator
# expand-env: ((yas-indent-line (quote fixed)))
# --
gen${1:Foo} :: Gen $1
gen$1 = do
$2
pure $1{..}