Safe Haskell | None |
---|---|
Language | Haskell2010 |
Proarrow.Profunctor.Corepresentable
Documentation
class Profunctor p => Corepresentable (p :: PRO j k) where Source Comments #
Methods
coindex :: forall (a :: j) (b :: k). p a b -> (p %% a) ~> b Source Comments #
cotabulate :: forall (a :: j) (b :: k). Ob a => ((p %% a) ~> b) -> p a b Source Comments #
corepMap :: forall (a :: j) (b :: j). (a ~> b) -> (p %% a) ~> (p %% b) Source Comments #
Instances
withCorepCod :: forall {j} {k} (p :: PRO j k) (a :: j) r. (Corepresentable p, Ob a) => (Ob (p %% a) => r) -> r Source Comments #
dimapCorep :: forall {j} {k} p (a :: j) (b :: k) (c :: j) (d :: k). Corepresentable p => (c ~> a) -> (b ~> d) -> p a b -> p c d Source Comments #