foundation icon indicating copy to clipboard operation
foundation copied to clipboard

Implement QuickCheck checkers

Open galderz opened this issue 8 years ago • 0 comments

In QuickCheck, you can verify that a monoid follows monoid rules, functor follows functor laws...etc.

This can be achieved via code like this:

quickBatch $ functor (undefined :: List (String, String, Int))

This example shows a list can be defined, along with its applicative and verify that it follows the applicative rules. This other example shows how to verify a monoid.

galderz avatar Jun 10 '17 08:06 galderz