Copyright | (C) 2008-2011 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Documentation
newtype Coproduct f g a Source
Coproduct | |
|
(Functor f, Functor g) => Functor (Coproduct f g) | |
(Foldable f, Foldable g) => Foldable (Coproduct f g) | |
(Traversable f, Traversable g) => Traversable (Coproduct f g) | |
(Contravariant f, Contravariant g) => Contravariant (Coproduct f g) | |
(Comonad f, Comonad g) => Comonad (Coproduct f g) | |
(Eq (f a), Eq (g a)) => Eq (Coproduct f g a) | |
(Ord (f a), Ord (g a)) => Ord (Coproduct f g a) | |
(Read (f a), Read (g a)) => Read (Coproduct f g a) | |
(Show (f a), Show (g a)) => Show (Coproduct f g a) |