diff options
author | Griffin Smith <root@gws.fyi> | 2018-03-29T22·10-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2018-03-29T22·10-0400 |
commit | d88fb3194f2a50efa6d407e85d47d14da3700ff3 (patch) | |
tree | 3aa434e148f4f767a992c87b144d536c0e10b689 /snippets/haskell-mode/hedgehog-generator |
Initial commit
Diffstat (limited to 'snippets/haskell-mode/hedgehog-generator')
-rw-r--r-- | snippets/haskell-mode/hedgehog-generator | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/haskell-mode/hedgehog-generator b/snippets/haskell-mode/hedgehog-generator new file mode 100644 index 000000000000..68863f70542b --- /dev/null +++ b/snippets/haskell-mode/hedgehog-generator @@ -0,0 +1,8 @@ +# key: gen +# name: Hedgehog Generator +# expand-env: ((yas-indent-line (quote fixed))) +# -- +gen${1:Foo} :: Gen $1 +gen$1 = do + $2 + pure $1{..} \ No newline at end of file |