| Portability | portable |
|---|---|
| Stability | experimental |
| Maintainer | libraries@haskell.org |
Data.Functor.Compose
Description
Composition of functors.
- newtype Compose f g a = Compose {
- getCompose :: f (g a)
Documentation
Right-to-left composition of functors.
Constructors
| Compose | |
Fields
| |
Instances
| (Functor f, Functor g) => Functor (Compose f g) | |
| (Applicative f, Applicative g) => Applicative (Compose f g) | |
| (Foldable f, Foldable g) => Foldable (Compose f g) | |
| (Traversable f, Traversable g) => Traversable (Compose f g) |