Idris2Doc : Control.Category.Core

Control.Category.Core

(source)

Definitions

Hom : Type->Type
  A type synonym for `obj -> obj -> Type` to simplify definitions.

Totality: total
Visibility: public export
(~~>) : Type->Type->Type
  A type synonym for (non-dependent) functions.

Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 0
interfaceCategory : Homobj->Type
  A *category* is a generalized function type with a notion of
composition and of identity. The elements of this type are
typically called *morphisms*.

This is the interface-style definition of a category. For the
record-style definition, see `Control.Category.Records.CategoryR`.

Laws:
* `id . f = f`
* `f . id = f`
* `(f . g) . h = f . (g . h)`

Parameters: cat
Constructor: 
MkCategory

Methods:
id : cataa
  The identity morphism of an object `a`.
(.) : catbc->catab->catac
  Binary right-to-left composition of morphisms.

Fixity Declaration: infixr operator, level 9

Implementations:
CategoryMorphism
Monadm=>Category (Kleislimorphismm)
Monadm=>Category (Starm)
id : Categorycat=>cataa
  The identity morphism of an object `a`.

Totality: total
Visibility: public export
(.) : Categorycat=>catbc->catab->catac
  Binary right-to-left composition of morphisms.

Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 9
(<<<) : Categorycat=>catbc->catab->catac
  A synonym for right-to-left category composition that may be easier
to read. The arrow shows the direction the morphisms are composed.

Totality: total
Visibility: public export
Fixity Declaration: infixl operator, level 5
(>>>) : Categorycat=>catab->catbc->catac
  A synonym for left-to-right category composition that may be easier
to read. The arrow shows the direction the morphisms are composed.

Totality: total
Visibility: public export
Fixity Declaration: infixr operator, level 5
compose : Categorycat=>TransClosurecatab->catab
  Compose a list of morphisms left-to-right.

Totality: total
Visibility: public export