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, 0.3.0.2
Dependencies base (>=4.5 && <4.11), 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
Category Data
Home page http://github.com/bgamari/monoidal-containers
Source repository head: git clone git://github.com/bgamari/monoidal-containers
Uploaded Tue Aug 1 13:42:08 UTC 2017 by BenGamari
Distributions LTSHaskell:0.3.0.2, NixOS:0.3.0.2, Stackage:0.3.0.2, Tumbleweed:0.3.0.1
Downloads 1322 total (68 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees