predicate-transformers 0.4.0.0 → 0.5.0.0
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
predicate-transformers.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.4 name: predicate-transformers-version: 0.4.0.0+version: 0.5.0.0 synopsis: A library for writing predicates and transformations over predicates in Haskell description: This package provides ways to write predicates such that they compose nicely and are easy to debug.
src/PredicateTransformers.hs view
@@ -31,7 +31,7 @@ -- |Operate on the target of a prism, or fail. match :: APrism s t a b -> PT a s-match p pred = right pred . matching p+match p pred = either (const False) pred . matching p {-# inlinable match #-} -- |Invert a predicate.