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.Compose
Description
Composition of functors.
Since: 4.9.0.0
- newtype Compose f g a = Compose {
- getCompose :: f (g a)
Documentation
newtype Compose f g a infixr 9 Source #
Right-to-left composition of functors. The composition of applicative functors is always applicative, but the composition of monads is not always a monad.
Constructors
Compose infixr 9 | |
Fields
|
Instances