Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
instance
(Show a, Arbitrary a, -- Given a type `a` supporting random generation
Testable testable) -- And an already existing testable function
=> Testable (a -> testable) -- The function (a -> testable) is also testable
where
property = undefined -- With the provided implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment