transformers-0.4.3.0: Concrete functor and monad transformers

Copyright(c) Ross Paterson 2010
LicenseBSD-style (see the file LICENSE)
MaintainerR.Paterson@city.ac.uk
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Data.Functor.Product

Description

Products, lifted to functors.

Synopsis

Documentation

data Product f g a Source

Lifted product of functors.

Constructors

Pair (f a) (g a) 

Instances

(Monad f, Monad g) => Monad (Product f g) Source 
(Functor f, Functor g) => Functor (Product f g) Source 
(MonadFix f, MonadFix g) => MonadFix (Product f g) Source 
(Applicative f, Applicative g) => Applicative (Product f g) Source 
(Foldable f, Foldable g) => Foldable (Product f g) Source 
(Traversable f, Traversable g) => Traversable (Product f g) Source 
(Alternative f, Alternative g) => Alternative (Product f g) Source 
(MonadPlus f, MonadPlus g) => MonadPlus (Product f g) Source 
(Show1 f, Show1 g) => Show1 (Product f g) Source 
(Read1 f, Read1 g) => Read1 (Product f g) Source 
(Ord1 f, Ord1 g) => Ord1 (Product f g) Source 
(Eq1 f, Eq1 g) => Eq1 (Product f g) Source 
(Eq1 f, Eq1 g, Eq a) => Eq (Product f g a) Source 
(Ord1 f, Ord1 g, Ord a) => Ord (Product f g a) Source 
(Read1 f, Read1 g, Read a) => Read (Product f g a) Source 
(Show1 f, Show1 g, Show a) => Show (Product f g a) Source