categories 1.0.1 → 1.0.2
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Control.Categorical.Functor: class (Category r, Category t) => Functor f r t | f r -> t, f t -> r where fmap = fmap
+ Control.Categorical.Functor: class (Category r, Category t) => Functor f r t | f r -> t, f t -> r
Files
- Control/Categorical/Functor.hs +3/−3
- categories.cabal +1/−1
Control/Categorical/Functor.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies, FlexibleContexts, UndecidableInstances, FlexibleInstances, DefaultSignatures #-}+{-# LANGUAGE MultiParamTypeClasses, FunctionalDependencies, FlexibleContexts, UndecidableInstances, FlexibleInstances #-} ------------------------------------------------------------------------------------------- -- | -- Module : Control.Categorical.Functor@@ -92,8 +92,8 @@ class (Category r, Category t) => Functor f r t | f r -> t, f t -> r where fmap :: r a b -> t (f a) (f b)- default fmap :: Prelude.Functor f => (a -> b) -> f a -> f b- fmap = Prelude.fmap+-- default fmap :: Prelude.Functor f => (a -> b) -> f a -> f b+-- fmap = Prelude.fmap instance Functor f (->) (->) => Prelude.Functor (LoweredFunctor f) where fmap f (LoweredFunctor a) = LoweredFunctor (Control.Categorical.Functor.fmap f a)
categories.cabal view
@@ -1,6 +1,6 @@ name: categories category: Control-version: 1.0.1+version: 1.0.2 license: BSD3 cabal-version: >= 1.10 license-file: LICENSE