packages feed

composition-prelude 1.3.0.8 → 1.4.0.0

raw patch · 2 files changed

+3/−8 lines, 2 filesPVP ok

version bump matches the API change (PVP)

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.3.0.8+version: 1.4.0.0 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2017-2018 Vanessa McHale
src/Control/Composition.hs view
@@ -21,11 +21,9 @@     , biaxe     -- * Composition with lists of functions     , thread-    -- * Tuple helpers-    , both     -- * Functor helpers     , (<&>)-    -- * Reexports from base+    -- * Reëxports from base     , (&)     , fix     , on@@ -77,9 +75,6 @@ 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 (-$) f x y = f y x@@ -135,7 +130,7 @@   #-}  {-# RULES-    "thread/fmap" forall f fs. thread (f:fs) = f . (thread fs)+    "thread/fmap" forall f fs. thread (f:fs) = f . thread fs   #-}  thread :: [a -> a] -> a -> a