License | BSD-style (see the file LICENSE) |
---|---|
Maintainer | sjoerd@w3future.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Category
class Category k where Source #
An instance of Category k
declares the arrow k
as a category.
Instances
Category Cat Source # |
|
Category AdjArrow Source # | The category with categories as objects and adjunctions as arrows. |
Category Unit Source # |
|
Category Void Source # |
|
Category Simplex Source # | The (augmented) simplex category is the category of finite ordinals and order preserving maps. |
Category Cube Source # | |
Category Boolean Source # |
|
Category k => Category (Op k) Source # |
|
(Functor f, Dom f ~ (Op c :**: d), Cod f ~ ((->) :: Type -> Type -> Type), Category c, Category d) => Category (Cograph f) Source # | The cograph of the profunctor |
Category (Kleisli m) Source # | The category of Kleisli arrows. |
Category (f (Fix f)) => Category (Fix f) Source # |
|
ECategory k => Category (Underlying k) Source # | The underlying category of an enriched category |
Defined in Data.Category.Enriched src :: Underlying k a b -> Obj (Underlying k) a Source # tgt :: Underlying k a b -> Obj (Underlying k) b Source # (.) :: Underlying k b c -> Underlying k a b -> Underlying k a c Source # | |
Category ((->) :: Type -> Type -> Type) Source # | The category with Haskell types as objects and Haskell functions as arrows. |
(Category c1, Category c2) => Category (c1 :**: c2) Source # | The product category of categories |
Category d => Category (Nat c d) Source # | Functor category D^C. Objects of D^C are functors from C to D. Arrows of D^C are natural transformations. |
(Category c1, Category c2) => Category (c1 :>>: c2) Source # | |
(Category c1, Category c2) => Category (c1 :++: c2) Source # | The coproduct category of categories |
Category (MonoidAsCategory f m) Source # | A monoid as a category with one object. |
Defined in Data.Category.Monoidal src :: MonoidAsCategory f m a b -> Obj (MonoidAsCategory f m) a Source # tgt :: MonoidAsCategory f m a b -> Obj (MonoidAsCategory f m) b Source # (.) :: MonoidAsCategory f m b c -> MonoidAsCategory f m a b -> MonoidAsCategory f m a c Source # | |
Category (Dialg f g) Source # | The category of (F,G)-dialgebras. |
(Category (Dom t), Category (Dom s)) => Category (t :/\: s) Source # | The comma category T \downarrow S |
Whenever objects are required at value level, they are represented by their identity arrows.