transformers-0.5.0.1: Concrete functor and monad transformers

Copyright(c) Ross Paterson 2010
LicenseBSD-style (see the file LICENSE)
MaintainerR.Paterson@city.ac.uk
Stabilityexperimental
Portabilityportable
Safe HaskellTrustworthy
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 
Generic1 (Product * f g) Source 
(MonadZip f, MonadZip g) => MonadZip (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 
(Data (f a), Data (g a), Typeable (* -> *) f, Typeable (* -> *) g, Typeable * a) => Data (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 
Generic (Product k f g a) Source 
type Rep1 (Product * f g) Source 
type Rep (Product k f g a) Source