monoidal-containers

Containers with monoidal accumulation http://github.com/bgamari/monoidal-containers

Version on this page:0.3.0.1
LTS Haskell 9.18:0.3.0.2
Stackage Nightly 2017-12-13:0.3.0.2
Latest on Hackage:0.3.0.2
BSD3 licensed by Ben Gamari
Maintained by ben@smart-cactus.org

Module documentation for 0.3.0.1

Containers with merging via monoidal accumulation. The Monoid instances provided by the containers and unordered-containers packages merge structures in a left-biased manner instead of using the underlying monoidal structure of the value.

This package wraps the types provided by these packages, but provides Monoid instances implemented in terms of the value type's mappend. For instance, the Monoid Map instance looks like,

instance (Ord k, Monoid a) => Monoid (MonoidalMap k a)
Used by 1 package:
comments powered byDisqus