Data.Semigroup.Reducer.With

reducers-3.12.1: Semigroups, specialized containers and a general map/reduce framework

Copyright | (c) Edward Kmett 2009-2011
License | BSD-style
Maintainer | ekmett@gmail.com
Stability | experimental
Portability | non-portable (MPTCs)
Safe Haskell | Safe
Language | Haskell98

Data.Semigroup.Reducer.With

Description

Synopsis

- newtype WithReducer m c = WithReducer {
  - withoutReducer :: c
  }

# Documentation

newtype WithReducer m c

If `m` is a `c`-Reducer, then m is `(c `WithReducer` m)`-Reducer This can be used to quickly select a Reducer for use as a `FingerTree` `measure`.

Constructors

WithReducer |
Fields withoutReducer :: c

Instances

(Monoid m, Reducer c m) => Measured m (WithReducer m c) |
Functor (WithReducer m) |
Foldable (WithReducer m) |
Traversable (WithReducer m) |
Traversable1 (WithReducer m) |
Foldable1 (WithReducer m) |
Eq c => Eq (WithReducer m c) |
Ord c => Ord (WithReducer m c) |
Read c => Read (WithReducer m c) |
Show c => Show (WithReducer m c) |
Hashable c => Hashable (WithReducer m c) |
Reducer c m => Reducer (WithReducer m c) m |