Skip to content

Instantly share code, notes, and snippets.

@joelmccracken
Created February 7, 2018 01:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelmccracken/4f4c82f967a18bca7633fde64fc03663 to your computer and use it in GitHub Desktop.
Save joelmccracken/4f4c82f967a18bca7633fde64fc03663 to your computer and use it in GitHub Desktop.
it "property for the definition of ($)" $ do
let
test :: Fun Int Int -> Int -> Bool
test fn x =
((apply fn) x) == ((apply fn) $ x)
property test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment