profunctors-4.4: Profunctors

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

Data.Profunctor.Collage

Description

 

Synopsis

Documentation

data Collage k b a where Source

The cograph of a Profunctor.

Constructors

L :: (b -> b') -> Collage k (L b) (L b') 
R :: (a -> a') -> Collage k (R a) (R a') 
C :: k b a -> Collage k (L b) (R a) 

Instances

Profunctor k => Semigroupoid (Collage k) 
Profunctor k => Ob (Collage k) (R a) 
Profunctor k => Ob (Collage k) (L a)