Portability | portable |
---|---|
Stability | experimental |
Maintainer | ross@soi.city.ac.uk |
Safe Haskell | Safe-Infered |
Data.Functor.Compose
Description
Composition of functors.
Synopsis
- newtype Compose f g a = Compose {
- getCompose :: f (g a)
Documentation
Right-to-left composition of functors. The composition of applicative functors is always applicative, but the composition of monads is not always a monad.
Instances