packages feed

distributive 0.1.2 → 0.2.0

raw patch · 2 files changed

+1/−6 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Data.Distributive: fmapDefault :: Distributive g => (a -> b) -> g a -> g b

Files

Data/Distributive.hs view
@@ -11,7 +11,6 @@ ---------------------------------------------------------------------------- module Data.Distributive    ( Distributive(..)-  , fmapDefault   , cotraverse   , comapM   ) where@@ -86,7 +85,3 @@   distribute wp = Pair (collect fstP wp) (collect sndP wp) where      fstP (Pair a _) = a     sndP (Pair _ b) = b---- | Given a definition for 'collect', a 'Distributive' is a 'Functor'.-fmapDefault :: Distributive g => (a -> b) -> g a -> g b-fmapDefault f = runIdentity . collect (Identity . f)
distributive.cabal view
@@ -1,6 +1,6 @@ name:          distributive category:      Data Structures-version:       0.1.2+version:       0.2.0 license:       BSD3 cabal-version: >= 1.6 license-file:  LICENSE