data-category-0.1.0: Restricted categories

Portabilitynon-portable
Stabilityexperimental
Maintainersjoerd@w3future.com

Data.Category.Functor

Description

 

Synopsis

Documentation

data Diag j (~>) Source

The diagonal functor from (index-) category J to (~>).

Constructors

Diag 

Instances

(CategoryO ~> a, CategoryO ~> b) => FunctorA (Diag (->) ~>) a b 
(CategoryO ~> a, CategoryO ~> b) => FunctorA (Diag Void ~>) a b 
(CategoryO ~> a, CategoryO ~> b) => FunctorA (Diag Pair ~>) a b 

type Cone f n = Const (Dom f) (Cod f) n :~> fSource

A cone from N to F is a natural transformation from the constant functor to N to F.

type Cocone f n = f :~> Const (Dom f) (Cod f) nSource

A co-cone from F to N is a natural transformation from F to the constant functor to N.

type Limit f l = TerminalUniversal f (Diag (Dom f) (Cod f)) lSource

type Colimit f l = InitialUniversal f (Diag (Dom f) (Cod f)) lSource