Monoid +Data +package
a practical monoid implementation
Version 2010.5.29
Small module with utility function and class for modifying record fields of a monoidal type.
Version 0.1
Monoids for calculation of statistics of sample. This approach allows to calculate many statistics in one pass over data and possibility to parallelize calculations. However not all statistics could be calculated this way.
This packages is quite similar to monoids package but limited to calculation on statistics. In particular it makes use of commutatitvity of statistical monoids.
Changes:
* 0.3.1 Better documentation; Fix in Min/Max monoids
Version 0.3.1
Monoid transformers: State, Reader
There is no Writer transformer. It's vice versa: The Writer monad transforms a monoid to a monad.
Version 0.0.2
The HoleyMonoid allows building monoidal values of which certain components are to be filled in later. For example:
> > let holey = now "x = "
> . later show
> . now ", y = "
> . later show
> > run holey 3 5
> "x = 3, y = 5"
Version 0.1
A polyvariadic function takes an indefinite number of possibly differently typed parameters. polyToMonoid provides two polyvariadic functions that map their parameters into a given monoid.
Version 0.1