hs-functors 0.1.3.1 → 0.1.4.0
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Control.Comonad.Cofree: [head] :: Cofree f a -> a
+ Control.Comonad.Cofree: [tail] :: Cofree f a -> f (Cofree f a)
Files
- Control/Comonad/Cofree.hs +1/−1
- hs-functors.cabal +1/−1
Control/Comonad/Cofree.hs view
@@ -12,7 +12,7 @@ import Data.Semigroup ((<>)) import Text.Read (Read (..)) -data Cofree f a = Cofree a (f (Cofree f a))+data Cofree f a = Cofree { head :: a, tail :: f (Cofree f a) } deriving (Functor, Foldable, Traversable) instance Alternative f => Applicative (Cofree f) where
hs-functors.cabal view
@@ -1,5 +1,5 @@ name: hs-functors-version: 0.1.3.1+version: 0.1.4.0 synopsis: Functors from products of Haskell and its dual to Haskell -- description: license: BSD3