unfoldable 0.9.5 → 0.9.6
raw patch · 3 files changed
+7/−2 lines, 3 filesdep ~QuickCheckdep ~containersdep ~one-linerPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck, containers, one-liner
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- src/Data/Unfoldable.hs +1/−0
- unfoldable.cabal +2/−2
CHANGELOG.md view
@@ -1,3 +1,7 @@+0.9.6+-----+* updated to `one-liner` 1.0+ 0.9.5 ----- * updated to `QuickCheck` 2.11
src/Data/Unfoldable.hs view
@@ -94,6 +94,7 @@ #ifdef GENERICS default unfold :: (ADT1 t, Constraints1 t Unfoldable, Unfolder f) => f a -> f (t a) unfold = choose . getCompose . createA1 @Unfoldable (Compose . return . unfold . foldr (<|>) empty . getCompose) . Compose . return+ {-# INLINE unfold #-} #endif -- | Unfold the structure, always using @()@ as elements.
unfoldable.cabal view
@@ -1,5 +1,5 @@ Name: unfoldable-Version: 0.9.5+Version: 0.9.6 Synopsis: Class of data structures that can be unfolded. Description: Just as there's a Foldable class, there should also be an Unfoldable class. .@@ -46,7 +46,7 @@ cpp-options: -DGENERICS build-depends: ghc-prim >= 0.2- , one-liner >= 0.9 && < 0.10+ , one-liner >= 0.9 && < 2.0 Other-extensions: GeneralizedNewtypeDeriving