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