composition-prelude 1.0.0.0 → 1.1.0.0
raw patch · 2 files changed
+7/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Control.Composition: unless :: Applicative f => Bool -> f () -> f ()
+ Control.Composition: void :: Functor f => f a -> f ()
+ Control.Composition: when :: Applicative f => Bool -> f () -> f ()
Files
composition-prelude.cabal view
@@ -1,5 +1,5 @@ name: composition-prelude-version: 1.0.0.0+version: 1.1.0.0 synopsis: Higher-order function combinators description: Replacement for `composition` or `composition-exta`, exporting everything in one sane module. homepage: https://github.com/vmchale/composition-prelude#readme
src/Control/Composition.hs view
@@ -28,6 +28,9 @@ , (=<<) , (>=>) , (<=<)+ , void+ , when+ , unless -- * Reexports from base , (&) , fix@@ -37,9 +40,10 @@ import Control.Arrow (first, second, (&&&), (***)) #if __GLASGOW_HASKELL__ <= 783-import Control.Monad (ap, join, (<=<), (>=>))+import Control.Monad (ap, join, unless, void, when, (<=<), (>=>)) #else-import Control.Monad (ap, join, (<=<), (=<<), (>=>))+import Control.Monad (ap, join, unless, void, when, (<=<), (=<<),+ (>=>)) #endif #if __GLASGOW_HASKELL__ > 784 import Data.Function (fix, on, (&))