bifunctors-5.3: Bifunctors

Safe HaskellSafe
LanguageHaskell98

Data.Bifunctor.Sum

Documentation

data Sum p q a b Source

Constructors

L2 (p a b) 
R2 (q a b) 

Instances

BifunctorFunctor k k k k (Sum k k p) Source 
BifunctorMonad k k (Sum k k p) Source 
(Bifunctor p, Bifunctor q) => Bifunctor (Sum * * p q) Source 
(Bifoldable p, Bifoldable q) => Bifoldable (Sum * * p q) Source 
(Bitraversable p, Bitraversable q) => Bitraversable (Sum * * p q) Source 
Generic1 (Sum k * p q a) Source 
(Eq (p a b), Eq (q a b)) => Eq (Sum k k p q a b) Source 
(Ord (p a b), Ord (q a b)) => Ord (Sum k k p q a b) Source 
(Read (p a b), Read (q a b)) => Read (Sum k k p q a b) Source 
(Show (p a b), Show (q a b)) => Show (Sum k k p q a b) Source 
Generic (Sum k k p q a b) Source 
type Rep1 (Sum k k1 p q a) Source 
type Rep (Sum k k1 p q a b) Source