semigroupoid-extras-5: Semigroupoids that depend on PolyKinds

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

Data.Profunctor.Collage

Description

 

Synopsis

Documentation

data Collage k b a where Source

The cograph of a Profunctor.

Constructors

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

Instances

Profunctor k => Semigroupoid (Either * *) (Collage k) 
Profunctor k => Ob (Either * *) (Collage k) (Right * * a) 
Profunctor k => Ob (Either * *) (Collage k) (Left * * a)