semigroupoids-4.0: Semigroupoids: Category sans id

Safe HaskellSafe-Inferred

Data.Semigroupoid.Coproduct

Documentation

data L a Source

Instances

(Ob l a, Semigroupoid r) => Ob (Coproduct l r) (L a) 

data R a Source

Instances

(Semigroupoid l, Ob r a) => Ob (Coproduct l r) (R a) 

data Coproduct j k a b whereSource

Constructors

L :: j a b -> Coproduct j k (L a) (L b) 
R :: k a b -> Coproduct j k (R a) (R b) 

Instances

(Semigroupoid j, Semigroupoid k) => Semigroupoid (Coproduct j k) 
(Groupoid j, Groupoid k) => Groupoid (Coproduct j k) 
(Semigroupoid l, Ob r a) => Ob (Coproduct l r) (R a) 
(Ob l a, Semigroupoid r) => Ob (Coproduct l r) (L a)