| Copyright | (c) Ross Paterson 2010 |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | libraries@haskell.org |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.Functor.Product
Description
Products, lifted to functors.
Since: 4.9.0.0
Documentation
Lifted product of functors.
Constructors
| Pair (f a) (g a) |
Instances
| Generic1 k (Product k f g) Source # | |
| (Monad f, Monad g) => Monad (Product * f g) Source # | Since: 4.9.0.0 |
| (Functor f, Functor g) => Functor (Product * f g) Source # | Since: 4.9.0.0 |
| (MonadFix f, MonadFix g) => MonadFix (Product * f g) Source # | Since: 4.9.0.0 |
| (Applicative f, Applicative g) => Applicative (Product * f g) Source # | Since: 4.9.0.0 |
| (Foldable f, Foldable g) => Foldable (Product * f g) Source # | Since: 4.9.0.0 |
| (Traversable f, Traversable g) => Traversable (Product * f g) Source # | Since: 4.9.0.0 |
| (MonadPlus f, MonadPlus g) => MonadPlus (Product * f g) Source # | Since: 4.9.0.0 |
| (Alternative f, Alternative g) => Alternative (Product * f g) Source # | Since: 4.9.0.0 |
| (MonadZip f, MonadZip g) => MonadZip (Product * f g) Source # | Since: 4.9.0.0 |
| (Show1 f, Show1 g) => Show1 (Product * f g) Source # | Since: 4.9.0.0 |
| (Read1 f, Read1 g) => Read1 (Product * f g) Source # | Since: 4.9.0.0 |
| (Ord1 f, Ord1 g) => Ord1 (Product * f g) Source # | Since: 4.9.0.0 |
| (Eq1 f, Eq1 g) => Eq1 (Product * f g) Source # | Since: 4.9.0.0 |
| (Eq1 f, Eq1 g, Eq a) => Eq (Product * f g a) Source # | Since: 4.9.0.0 |
| (Data (g a), Data (f a), Typeable * k, Typeable (k -> *) g, Typeable (k -> *) f, Typeable k a) => Data (Product k f g a) Source # | |
| (Ord1 f, Ord1 g, Ord a) => Ord (Product * f g a) Source # | Since: 4.9.0.0 |
| (Read1 f, Read1 g, Read a) => Read (Product * f g a) Source # | Since: 4.9.0.0 |
| (Show1 f, Show1 g, Show a) => Show (Product * f g a) Source # | Since: 4.9.0.0 |
| Generic (Product k f g a) Source # | |
| type Rep1 k (Product k f g) Source # | |
| type Rep (Product k f g a) Source # | |