transformers-0.5.6.2: Concrete functor and monad transformers
Copyright (c) Russell O'Connor 2009
License BSD-style (see the file LICENSE)
Maintainer R.Paterson@city.ac.uk
Stability experimental
Portability portable
Safe Haskell Safe
Language Haskell98

Data.Functor.Reverse

Description

Making functors whose elements are notionally in the reverse order from the original functor.

Synopsis

Documentation

newtype Reverse f a Source #

The same functor, but with Foldable and Traversable instances that process the elements in the reverse order.

Constructors

Reverse

Fields

Instances

Instances details
Monad m => Monad ( Reverse m) Source #

Derived instance.

Instance details

Defined in Data.Functor.Reverse

Functor f => Functor ( Reverse f) Source #

Derived instance.

Instance details

Defined in Data.Functor.Reverse

MonadFail m => MonadFail ( Reverse m) Source #
Instance details

Defined in Data.Functor.Reverse

Applicative f => Applicative ( Reverse f) Source #

Derived instance.

Instance details

Defined in Data.Functor.Reverse

Foldable f => Foldable ( Reverse f) Source #

Fold from right to left.

Instance details

Defined in Data.Functor.Reverse

Traversable f => Traversable ( Reverse f) Source #

Traverse from right to left.

Instance details

Defined in Data.Functor.Reverse

Contravariant f => Contravariant ( Reverse f) Source #

Derived instance.

Instance details

Defined in Data.Functor.Reverse

Eq1 f => Eq1 ( Reverse f) Source #
Instance details

Defined in Data.Functor.Reverse

Methods

liftEq :: (a -> b -> Bool ) -> Reverse f a -> Reverse f b -> Bool Source #

Ord1 f => Ord1 ( Reverse f) Source #
Instance details

Defined in Data.Functor.Reverse

Read1 f => Read1 ( Reverse f) Source #
Instance details

Defined in Data.Functor.Reverse

Show1 f => Show1 ( Reverse f) Source #
Instance details

Defined in Data.Functor.Reverse

Alternative f => Alternative ( Reverse f) Source #

Derived instance.

Instance details

Defined in Data.Functor.Reverse

MonadPlus m => MonadPlus ( Reverse m) Source #

Derived instance.

Instance details

Defined in Data.Functor.Reverse

( Eq1 f, Eq a) => Eq ( Reverse f a) Source #
Instance details

Defined in Data.Functor.Reverse

( Ord1 f, Ord a) => Ord ( Reverse f a) Source #
Instance details

Defined in Data.Functor.Reverse

( Read1 f, Read a) => Read ( Reverse f a) Source #
Instance details

Defined in Data.Functor.Reverse

( Show1 f, Show a) => Show ( Reverse f a) Source #
Instance details

Defined in Data.Functor.Reverse