base-4.2.0.0: Basic librariesSource codeContentsIndex
Control.Category
Portabilityportable
Stabilityexperimental
Maintainerashley@semantic.org
Description
Synopsis
class Category cat where
id :: cat a a
(.) :: cat b c -> cat a b -> cat a c
(<<<) :: Category cat => cat b c -> cat a b -> cat a c
(>>>) :: Category cat => cat a b -> cat b c -> cat a c
Documentation
class Category cat whereSource
A class for categories. id and (.) must form a monoid.
Methods
id :: cat a aSource
the identity morphism
(.) :: cat b c -> cat a b -> cat a cSource
morphism composition
show/hide Instances
(<<<) :: Category cat => cat b c -> cat a b -> cat a cSource
Right-to-left composition
(>>>) :: Category cat => cat a b -> cat b c -> cat a cSource
Left-to-right composition
Produced by Haddock version 2.6.0