License | BSD-style (see the file LICENSE) |
---|---|
Maintainer | sjoerd@w3future.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
yoneda :: forall f k x. (HasEnds (V k), EFunctorOf k (Self (V k)) f) => f -> Obj k x -> V k (End (V k) (EHomX_ k x :->>: f)) (f :%% x) Source #
yonedaInv :: forall f k x. (HasEnds (V k), EFunctor f, EDom f ~ k, ECod f ~ Self (V k)) => f -> Obj k x -> V k (f :%% x) (End (V k) (EHomX_ k x :->>: f)) Source #
data Y (k :: Type -> Type -> Type) Source #
Instances
(ECategory k, HasEnds (V k)) => EFunctor (Y k) Source # | Yoneda embedding |
type ECod (Y k) Source # | |
type EDom (Y k) Source # | |
Defined in Data.Category.Enriched.Yoneda | |
type (Y k) :%% x Source # | |
Defined in Data.Category.Enriched.Yoneda |