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 HaskellNone
LanguageHaskell98

Data.Profunctor.Collage

Description

 
Synopsis

Documentation

data Collage k b a where #

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 (Collage k :: Either * * -> Either * * -> *) # 
Instance details

Defined in Data.Profunctor.Collage

Methods

o :: Collage k j k1 -> Collage k i j -> Collage k i k1 #

Profunctor k => Ob (Collage k :: Either * * -> Either * * -> *) (Right a :: Either * *) # 
Instance details

Defined in Data.Profunctor.Collage

Methods

semiid :: Collage k (Right a) (Right a) #

Profunctor k => Ob (Collage k :: Either * * -> Either * * -> *) (Left a :: Either * *) # 
Instance details

Defined in Data.Profunctor.Collage

Methods

semiid :: Collage k (Left a) (Left a) #