monoids-0.1.36: Monoids, specialized containers and a general map/reduce frameworkSource codeContentsIndex
Data.Monoid.Instances
Portabilityportable
Stabilityexperimental
Maintainerekmett@gmail.com
Description

A collection of orphan instance declarations for Monoids that should eventually be pushed back down to the source packages.

Every package that uses these instances includes this package internally.

Includes:

  • Monoid instances for the Monad transformers from the mtl package
  • A Monoid instance for the ParsecT Monad from parsec-3.
  • IsString instances for tuples of IsString for overloaded string support.
  • A Monoid instance for the FingerTree in the fingertree package
  • Monoid instances for Int, Integer, and Ratio using (+,0)
  • Num and Bits instances for Bool as a Boolean &&/|| SemiRing

This module is automatically included everywhere this functionality is required within this package. You should only have to import this module yourself if you want these instances for your own purposes.

Produced by Haddock version 2.3.0