The monoidal-containers package

[Tags:bsd3, library]

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)

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.2.2, 0.1.2.3, 0.1.2.4, 0.1.2.5, 0.2.0.0, 0.3.0.0, 0.3.0.1
Dependencies base (>=4.5 && <4.10), containers (==0.5.*), deepseq (>=1.3 && <1.5), hashable (==1.2.*), lens (>=4.4 && <5), newtype (==0.2.*), unordered-containers (==0.2.*) [details]
License BSD3
Copyright (c) 2014 Ben Gamari
Author Ben Gamari
Maintainer ben@smart-cactus.org
Stability Unknown
Category Data
Home page http://github.com/bgamari/monoidal-containers
Source repository head: git clone git://github.com/bgamari/monoidal-containers
Uploaded Sun Oct 9 22:31:31 UTC 2016 by BenGamari
Distributions LTSHaskell:0.3.0.1, NixOS:0.3.0.1, Stackage:0.3.0.1, Tumbleweed:0.3.0.1
Downloads 1091 total (25 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-11-15 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees