profunctors-5.0.0.1: Profunctors

Copyright(C) 2014 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
PortabilityRank2Types
Safe HaskellTrustworthy
LanguageHaskell2010

Data.Profunctor.Tambara

Description

 

Synopsis

Documentation

data Pastro p a b where Source

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 where Source

Copastro -| Cotambara

Constructors

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