distributive 0.3 → 0.3.1
raw patch · 3 files changed
+5/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- LICENSE +1/−1
- distributive.cabal +2/−2
- src/Data/Distributive.hs +2/−2
LICENSE view
@@ -1,4 +1,4 @@-Copyright 2011 Edward Kmett+Copyright 2011-2013 Edward Kmett All rights reserved.
distributive.cabal view
@@ -1,6 +1,6 @@ name: distributive category: Data Structures-version: 0.3+version: 0.3.1 license: BSD3 cabal-version: >= 1.8 license-file: LICENSE@@ -9,7 +9,7 @@ stability: provisional homepage: http://github.com/ekmett/distributive/ bug-reports: http://github.com/ekmett/distributive/issues-copyright: Copyright (C) 2011 Edward A. Kmett+copyright: Copyright (C) 2011-2013 Edward A. Kmett synopsis: Haskell 98 Distributive functors -- Dual to Traversable description: Haskell 98 Distributive functors -- Dual to Traversable build-type: Custom
src/Data/Distributive.hs view
@@ -1,7 +1,7 @@ ----------------------------------------------------------------------------- -- | -- Module : Data.Distributive--- Copyright : (C) 2011-2012 Edward Kmett+-- Copyright : (C) 2011-2013 Edward Kmett -- License : BSD-style (see the file LICENSE) -- -- Maintainer : Edward Kmett <ekmett@gmail.com>@@ -50,7 +50,7 @@ distribute = collect id -- |- -- @'collect' = 'distribute' . 'fmap' f@+ -- @'collect' f = 'distribute' . 'fmap' f@ collect :: Functor f => (a -> g b) -> f a -> g (f b) collect f = distribute . fmap f