packages feed

composition-prelude 1.4.0.0 → 1.4.0.1

raw patch · 2 files changed

+6/−1 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Control.Composition: both :: (a -> b) -> (a, a) -> (b, b)

Files

composition-prelude.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: composition-prelude-version: 1.4.0.0+version: 1.4.0.1 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2017-2018 Vanessa McHale
src/Control/Composition.hs view
@@ -21,6 +21,8 @@     , biaxe     -- * Composition with lists of functions     , thread+    -- * Tuple helpers+    , both     -- * Functor helpers     , (<&>)     -- * Reëxports from base@@ -74,6 +76,9 @@  biaxe :: (Traversable t, Monad m) => t (a -> b -> m ()) -> a -> b -> m () biaxe = sequence_ .** bisequence'++both :: (a -> b) -> (a, a) -> (b, b)+both = join (***)  -- | Backwards function (-$) :: (a -> b -> c) -> b -> a -> c