This simple module defines the compose functor known from Haskell's base libraries. The compose functor is the composition of two functors which always is a functor too.
newtype Compose f g a
The compose functor is the composition of two functors which always is a functor too.
Constructor:
Compose
:: (f (g a)) -> Compose f g a
Fields:
getCompose
:: (f (g a))
Known instances:
(Functor f, Functor g) => Functor (Compose f g)
(Applicative f, Applicative g) => Applicative (Compose f g)