papa-base-export-0.4: Prelude with only useful functions
Papa.Base.Export.Control.Category
Synopsis
class Category k (cat :: k -> k -> *) where #
A class for categories. id and (.) must form a monoid.
Minimal complete definition
id, (.)
Methods
id :: cat a a #
the identity morphism
(.) :: cat b c -> cat a b -> cat a c infixr 9 #
morphism composition
Instances
Since: 4.7.0.0
(.) :: cat b c -> cat a b -> cat a c #
Since: 4.10.0.0
Since: 3.0