Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data Coyoneda (p :: j -> k -> Type) (a :: j) (b :: k) where Source Comments #
Coyoneda :: forall {j} {k} (a :: j) (c :: j) (d :: k) (b :: k) (p :: j -> k -> Type). (a ~> c) -> (d ~> b) -> p c d -> Coyoneda p a b |
Instances
(CategoryOf j, CategoryOf k) => Profunctor (Coyoneda p :: j -> k -> Type) Source Comments # | |
Functor (Coyoneda :: (j -> k -> Type) -> j -> k -> Type) Source Comments # | |
coyoneda :: forall j k (a :: j) (b :: k) p. (CategoryOf j, CategoryOf k, Ob a, Ob b) => p a b -> Coyoneda p a b Source Comments #
unCoyoneda :: forall {k} {k1} (p :: PRO k k1). Profunctor p => Coyoneda p :~> p Source Comments #
Orphan instances
HasFree (Profunctor :: PRO j k -> Constraint) Source Comments # | |||||
lift' :: forall (a :: PRO j k) (b :: PRO j k). (a ~> b) -> Free (Profunctor :: PRO j k -> Constraint) a b Source Comments # retract' :: forall (b :: PRO j k) (a :: PRO j k). Profunctor b => Free (Profunctor :: PRO j k -> Constraint) a b -> a ~> b Source Comments # |