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

9 lines
No EOL
246 B
Text

# -*- mode: snippet -*-
# name: Hedgehog Property
# key: hprop
# expand-env: ((yas-indent-line 'fixed))
# --
hprop_${1:somethingIsAlwaysTrue} :: Property
hprop_$1 = property $ do
${2:x} <- forAll ${3:Gen.int $ Range.linear 1 100}
${4:x === x}