| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Algebra.Category
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)
Associated Types
type Con (a :: k) :: Constraint Source #