bifunctors-5: Bifunctors

Copyright(C) 2008-2015 Jesse Selover, Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Bifunctor.Product

Description

The product of two bifunctors.

Synopsis

Documentation

data Product f g a b Source

Form the product of two bifunctors

Constructors

Pair (f a b) (g a b) 

Instances

(Bifoldable f, Bifoldable g) => Bifoldable (Product f g) 
(Bifunctor f, Bifunctor g) => Bifunctor (Product f g) 
(Bitraversable f, Bitraversable g) => Bitraversable (Product f g) 
(Biapplicative f, Biapplicative g) => Biapplicative (Product f g) 
(Eq (f a b), Eq (g a b)) => Eq (Product f g a b) 
(Ord (f a b), Ord (g a b)) => Ord (Product f g a b) 
(Read (f a b), Read (g a b)) => Read (Product f g a b) 
(Show (f a b), Show (g a b)) => Show (Product f g a b)