transformers-0.4.2.0: Concrete functor and monad transformers

Copyright(c) Russell O'Connor 2009
LicenseBSD-style (see the file LICENSE)
Maintainerlibraries@haskell.org
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Control.Applicative.Backwards

Description

Making functors with an Applicative instance that performs actions in the reverse order.

Synopsis

Documentation

newtype Backwards f a Source

The same functor, but with an Applicative instance that performs actions in the reverse order.

Constructors

Backwards 

Fields

forwards :: f a
 

Instances

Functor f => Functor (Backwards f) Source

Derived instance.

Applicative f => Applicative (Backwards f) Source

Apply f-actions in the reverse order.

Foldable f => Foldable (Backwards f) Source

Derived instance.

Traversable f => Traversable (Backwards f) Source

Derived instance.

Alternative f => Alternative (Backwards f) Source

Try alternatives in the same order as f.

Show1 f => Show1 (Backwards f) Source 
Read1 f => Read1 (Backwards f) Source 
Ord1 f => Ord1 (Backwards f) Source 
Eq1 f => Eq1 (Backwards f) Source 
(Eq1 f, Eq a) => Eq (Backwards f a) Source 
(Ord1 f, Ord a) => Ord (Backwards f a) Source 
(Read1 f, Read a) => Read (Backwards f a) Source 
(Show1 f, Show a) => Show (Backwards f a) Source