profunctors-4.2.0.1: Profunctors

PortabilityRank2Types
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellTrustworthy

Data.Profunctor.Tambara

Description

 

Synopsis

Documentation

data Pastro p a b whereSource

Pastro -| Tambara

Constructors

Pastro :: ((y, z) -> b) -> p x y -> (a -> (x, z)) -> Pastro p a b 

newtype Cotambara p a b Source

Cotambara is freely adjoins respect for cocartesian structure to a profunctor

Constructors

Cotambara 

Fields

runCotambara :: forall c. p (Either a c) (Either b c)
 

data Copastro p a b whereSource

Copastro -| Cotambara

Constructors

Copastro :: (Either y z -> b) -> p x y -> (a -> Either x z) -> Copastro p a b