Popularity
4.3
Declining
Activity
0.0
Stable
6
3
2

Monthly Downloads: 4
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Data Structures    

flux-monoid alternatives and similar packages

Based on the "Data Structures" category.
Alternatively, view flux-monoid alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of flux-monoid or a related project?

Add another 'Data Structures' Package

README

flux-monoid

Flux is a monoid which counts the number of times an element changes (according to its Eq instance) This is useful for gaining associativity (and its associated performance improvements) for tasks where you'd otherwise use group or groupBy

It also allows usage of change-detection semantics in situations where a Monoid is required; e.g. in a FingerTree

> getFlux $ foldMap flux ["a", "b", "b", "a"]
2
> getFlux $ foldMap flux ["a", "b", "b", "a", "c", "c", "c"]
3