profunctors-4.2.0.1: Profunctors

Portabilityportable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellTrustworthy

Data.Profunctor.Cayley

Description

 

Documentation

newtype Cayley f p a b Source

Constructors

Cayley 

Fields

runCayley :: f (p a b)
 

Instances

Comonad f => ProfunctorComonad (Cayley f)

Cayley transforms Comonads in Hask into comonads on Prof

(Functor f, Monad f) => ProfunctorMonad (Cayley f)

Cayley transforms Monads in Hask into monads on Prof

Functor f => ProfunctorFunctor (Cayley f) 
(Applicative f, Arrow p) => Arrow (Cayley f p) 
(Applicative f, ArrowZero p) => ArrowZero (Cayley f p) 
(Applicative f, ArrowPlus p) => ArrowPlus (Cayley f p) 
(Applicative f, ArrowChoice p) => ArrowChoice (Cayley f p) 
(Applicative f, ArrowLoop p) => ArrowLoop (Cayley f p) 
(Applicative f, Category p) => Category (Cayley f p) 
(Functor f, Profunctor p) => Profunctor (Cayley f p) 
(Functor f, Choice p) => Choice (Cayley f p) 
(Functor f, Strong p) => Strong (Cayley f p)