Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Data.Functor.Composition
Synopsis
- class Composition (o :: (Type -> Type) -> (Type -> Type) -> Type -> Type) where
Documentation
class Composition (o :: (Type -> Type) -> (Type -> Type) -> Type -> Type) where Source #
We often need to distinguish between various forms of Functor-like composition in Haskell in order to please the type system. This lets us work with these representations uniformly.
Instances
Composition (Compose :: (Type -> Type) -> (Type -> Type) -> Type -> Type) Source # | |