packages feed

compactable 0.1.0.1 → 0.1.0.2

raw patch · 2 files changed

+4/−4 lines, 2 filesdep ~vectorPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: vector

API changes (from Hackage documentation)

Files

compactable.cabal view
@@ -1,5 +1,5 @@ name:                compactable-version:             0.1.0.1+version:             0.1.0.2 synopsis:            A generalization for containers that can be stripped of Nothings. description:         Sometimes you have a collection of Maybes,                      and you want to extract the values. Actually that happens a whole lot.@@ -25,7 +25,7 @@   build-depends:       base         >= 4.9    && < 4.10                      , containers   >= 0.5.7  && < 0.6                      , transformers >= 0.5.2  && < 0.6-                     , vector       >= 0.12.0 && < 0.13+                     , vector       >= 0.11   && < 0.13    hs-source-dirs:      src   default-language:    Haskell2010
src/Control/Compactable.hs view
@@ -25,7 +25,7 @@ has relations with Functor, Applicative, Monad, Alternative, and Traversable. In that we can use these class to provide the ability to operate on a data type by throwing away intermediate Nothings. This is useful for representing-striping out values or failure.+stripping out values or failure.  To be compactable alone, no laws must be satisfied other than the type signature. @@ -55,7 +55,7 @@  [/Applicative left identity/] -    @compact . (pure Just <*>) = id@+    @compact . (pure Just \<*\>) = id@  [/Applicative right identity/]