Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | sjoerd@w3future.com |
Data.Category.Hask
Description
- type Hask = (->)
- data EndoHask f = EndoHask
- data Zero
- magic :: Zero -> a
- initObjInHask :: Limit (Id (->)) Zero
- termObjInHask :: Colimit (Id (->)) ()
- data ProdInHask = ProdInHask
- prodInHaskAdj :: Adjunction (Diag Pair (->)) ProdInHask
- data CoprodInHask = CoprodInHask
- coprodInHaskAdj :: Adjunction CoprodInHask (Diag Pair (->))
Documentation
Constructors
EndoHask |
initObjInHask :: Limit (Id (->)) ZeroSource
An alternative way to define the initial object.
termObjInHask :: Colimit (Id (->)) ()Source
An alternative way to define the terminal object.
prodInHaskAdj :: Adjunction (Diag Pair (->)) ProdInHaskSource
The product functor is right adjoint to the diagonal functor.
coprodInHaskAdj :: Adjunction CoprodInHask (Diag Pair (->))Source
The coproduct functor is left adjoint to the diagonal functor.