Copyright | 2008-2010 Edward Kmett |
---|---|
License | BSD3 |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable (functional-dependencies) |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
A more categorical definition of Functor
Documentation
class Functor f a a => Endofunctor f a Source
Functor f a a => Endofunctor f a |
newtype LiftedFunctor f a Source
LiftedFunctor (f a) |
Functor f => Functor (LiftedFunctor f) (->) (->) | |
(Typeable (* -> *) f, Data (f a), Data a) => Data (LiftedFunctor f a) | |
Read (f a) => Read (LiftedFunctor f a) | |
Show (f a) => Show (LiftedFunctor f a) | |
Typeable ((* -> *) -> * -> *) LiftedFunctor |
newtype LoweredFunctor f a Source
LoweredFunctor (f a) |
Functor f (->) (->) => Functor (LoweredFunctor f) | |
(Typeable (* -> *) f, Data (f a), Data a) => Data (LoweredFunctor f a) | |
Read (f a) => Read (LoweredFunctor f a) | |
Show (f a) => Show (LoweredFunctor f a) | |
Typeable ((* -> *) -> * -> *) LoweredFunctor |