Copyright | (c) Ashley Yakeley 2007 |
---|---|
License | BSD-style (see the LICENSE file in the distribution) |
Maintainer | ashley@semantic.org |
Stability | stable |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Documentation
class Category (cat :: k -> k -> Type) where Source #
A class for categories. Instances should satisfy the laws
id :: forall (a :: k). cat a a Source #
the identity morphism
(.) :: forall (b :: k) (c :: k) (a :: k). cat b c -> cat a b -> cat a c infixr 9 Source #
morphism composition