packages feed

composition-prelude 1.3.0.7 → 1.3.0.8

raw patch · 2 files changed

+11/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

composition-prelude.cabal view
@@ -1,6 +1,6 @@ cabal-version: >=1.10 name: composition-prelude-version: 1.3.0.7+version: 1.3.0.8 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2017-2018 Vanessa McHale
src/Control/Composition.hs view
@@ -130,5 +130,15 @@ x <&> f = fmap f x #endif +{-# RULES+    "thread" forall f g. thread [f, g] = f . g+  #-}++{-# RULES+    "thread/fmap" forall f fs. thread (f:fs) = f . (thread fs)+  #-}+ thread :: [a -> a] -> a -> a thread = foldr (.) id++{-# INLINE [1] thread #-}