data-category-0.4.1: Category theory

Portabilitynon-portable
Stabilityexperimental
Maintainersjoerd@w3future.com

Data.Category.RepresentableFunctor

Description

 

Synopsis

Documentation

data Representable f repObj Source

Constructors

Representable 

Fields

representedFunctor :: f
 
representingObject :: Obj (Dom f) repObj
 
represent :: (Dom f ~ ~>, Cod f ~ (->)) => Obj ~> z -> (f :% z) -> repObj ~> z
 
universalElement :: (Dom f ~ ~>, Cod f ~ (->)) => f :% repObj
 

unrepresent :: (Functor f, Dom f ~ ~>, Cod f ~ (->)) => Representable f repObj -> (repObj ~> z) -> f :% zSource

initialUniversal :: Functor u => u -> Obj (Dom u) a -> Cod u x (u :% a) -> (forall y. Obj (Dom u) y -> Cod u x (u :% y) -> Dom u a y) -> InitialUniversal x u aSource

An initial universal property, a universal morphism from x to u.

terminalUniversal :: Functor u => u -> Obj (Dom u) a -> Cod u (u :% a) x -> (forall y. Obj (Dom u) y -> Cod u (u :% y) x -> Dom u y a) -> TerminalUniversal x u aSource

A terminal universal property, a universal morphism from u to x.