| category-extras-0.53.6: Various modules and constructs inspired by category theory | Contents | Index |
|
Control.Functor.HigherOrder.Composition | Portability | non-portable (kind annotations, rank-2 types) | Stability | experimental | Maintainer | Edward Kmett <ekmett@gmail.com> |
|
|
|
Description |
Composition of higher order functors
|
|
|
Documentation |
|
newtype CompH f g a b |
Constructors | | Instances | |
|
|
class HComposition o where |
| Methods | hcompose :: f (g h) a -> (f `o` g) h a | | hdecompose :: (f `o` g) h a -> f (g h) a |
| | Instances | |
|
|
hassociateComposition :: (HFunctor f, HComposition o) => ((f `o` g) `o` h) a b -> (f `o` (g `o` h)) a b |
|
hcoassociateComposition :: (HFunctor f, HComposition o) => (f `o` (g `o` h)) a b -> ((f `o` g) `o` h) a b |
|
Produced by Haddock version 2.1.0 |