Closed chshersh closed 4 years ago
Implement general functions for laws property-testing to avoid code duplication. Ideally, the calls to laws should look like this:
lawsSpecs :: Spec lawsSpecs = describe "Laws" $ do describe "Profunctor" $ do profunctorLaws "->" genFunction (===) profunctorLaws "Fun" genFun eqFun profunctorLaws "Forget" genForget eqForget
Resolved in #45
Implement general functions for laws property-testing to avoid code duplication. Ideally, the calls to laws should look like this: