Module

Test.QuickCheck.Laws.Control.Bind

Package
purescript-quickcheck-laws
Repository
purescript-contrib/purescript-quickcheck-laws

#checkBind Source

checkBind :: forall m. Bind m => Arbitrary (m A) => Eq (m A) => Proxy2 m -> Effect Unit
  • Associativity: (x >>= f) >>= g = x >>= (\k → f k >>= g)