Portability | portable |
---|---|
Stability | experimental |
Maintainer | libraries@haskell.org |
Safe Haskell | Safe-Inferred |
Control.Applicative.Backwards
Description
Making functors with an Applicative
instance that performs actions
in the reverse order.
Documentation
newtype Backwards f a
The same functor, but with an Applicative
instance that performs
actions in the reverse order.
Instances
Functor f => Functor (Backwards f) | Derived instance. |
(Functor (Backwards f), Applicative f) => Applicative (Backwards f) | Apply |
Foldable f => Foldable (Backwards f) | Derived instance. |
(Functor (Backwards f), Foldable (Backwards f), Traversable f) => Traversable (Backwards f) | Derived instance. |
(Applicative (Backwards f), Alternative f) => Alternative (Backwards f) | Try alternatives in the same order as |