On this page
Control.Category
| 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 | Trustworthy |
| Language | Haskell2010 |
Description
class Category cat where Source
A class for categories. Instances should satisfy the laws
Methods
the identity morphism
(.) :: cat b c -> cat a b -> cat a c infixr 9 Source
morphism composition
Instances
| Category Op Source | |
| Monad m => Category (Kleisli m :: Type -> Type -> Type) Source | Since: base-3.0 |
| Category (Coercion :: k -> k -> Type) Source | Since: base-4.7.0.0 |
| Category ((:~:) :: k -> k -> Type) Source | Since: base-4.7.0.0 |
| Category (->) Source | Since: base-3.0 |
|
Defined in Control.Category |
|
| Category ((:~~:) :: k -> k -> Type) Source | Since: base-4.10.0.0 |
(<<<) :: Category cat => cat b c -> cat a b -> cat a c infixr 1 Source
Right-to-left composition
(>>>) :: Category cat => cat a b -> cat b c -> cat a c infixr 1 Source
Left-to-right composition
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.4.2/docs/libraries/base-4.17.0.0/Control-Category.html