Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Category (cat :: k -> k -> Type) where Source #
A class for categories. Instances should satisfy the laws
f.
id
= f -- (right identity)id
.
f = f -- (left identity) f.
(g.
h) = (f.
g).
h -- (associativity)
type Con (a :: k) :: Constraint Source #