Community
Modules 24

Data.Functor.Reverse

experimental

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

newtype Reverse f a

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

Instances

20
  • instance (Generic f, Generic a) => Generic (Reverse f a)
  • instance (Generic1 f, Generic1 a) => Generic1 (Reverse f a)
  • instance (Eq1 f) => Eq1 (Reverse f)
  • instance (Ord1 f) => Ord1 (Reverse f)
  • instance (Read1 f) => Read1 (Reverse f)
  • instance (Show1 f) => Show1 (Reverse f)
  • instance (Eq1 f, Eq a) => Eq (Reverse f a)
  • instance (Ord1 f, Ord a) => Ord (Reverse f a)
  • instance (Read1 f, Read a) => Read (Reverse f a)
  • instance (Show1 f, Show a) => Show (Reverse f a)
  • instance (Functor f) => Functor (Reverse f)

    Derived instance.

  • instance (Applicative f) => Applicative (Reverse f)

    Derived instance.

  • instance (Alternative f) => Alternative (Reverse f)

    Derived instance.

  • instance (Monad m) => Monad (Reverse m)

    Derived instance.

  • instance (Fail.MonadFail m) => Fail.MonadFail (Reverse m)
  • instance (MonadPlus m) => MonadPlus (Reverse m)

    Derived instance.

  • instance (Foldable f) => Foldable (Reverse f)

    Fold from right to left.

  • instance (Foldable1 f) => Foldable1 (Reverse f)

    Fold from right to left.

  • instance (Traversable f) => Traversable (Reverse f)

    Traverse from right to left.

  • instance (Contravariant f) => Contravariant (Reverse f)

    Derived instance.

Maintainer
R.Paterson@city.ac.uk
Portability
portable
Copyright
(c) Russell O'Connor 2009
License
BSD-style (see the file LICENSE)
Build record and source files

Community contribution. The service has not verified this documentation.

Target: Linux on x86-64. Some inferred types and resolved links are not available.

Generator: aihc-haddock-858b1951-web-1

Metadata snapshot: ac77ab7d2b1e88487eeab41661abedb7bfb8bc846deb92e7874c08d166bff65d

Open the dependency plan · Download the documentation model

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.