profunctors-4.4.1: Profunctors

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

Data.Profunctor.Cayley

Description

 

Synopsis

Documentation

newtype Cayley f p a b Source

Constructors

Cayley 

Fields

runCayley :: f (p a b)
 

Instances

(Applicative f, Category * p) => Category * (Cayley f p) 
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) 
(Functor f, Profunctor p) => Profunctor (Cayley f p) 
(Functor f, Choice p) => Choice (Cayley f p) 
(Functor f, Strong p) => Strong (Cayley f p)