tvl-depot/snippets/haskell-mode/hedgehog-generator
2018-03-29 18:10:07 -04:00

8 lines
No EOL
142 B
Text

# key: gen
# name: Hedgehog Generator
# expand-env: ((yas-indent-line (quote fixed)))
# --
gen${1:Foo} :: Gen $1
gen$1 = do
$2
pure $1{..}