monoidal-containers: Containers with monoidal accumulation

[ bsd3, data, library ] [ Propose Tags ]

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, Semigroup a) => Monoid (MonoidalMap k a)


Automatic Flags

Use split these/semialign packages


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,,,,,,, 0.6,,,,,, (info)
Change log
Dependencies aeson (>=1.0 && <1.6), base (>=4.7 && <4.16), containers (>=0.5 && <0.7), deepseq (>=1.3 && <1.5), hashable (>=1.2 && <1.4), lens (>=4.4 && <5), newtype (>=0.2 && <0.3), semialign (>=1 && <1.2), semigroups (>=0.18 && <0.20), these (>=0.7 && <0.9 || >=1 && <1.2), unordered-containers (>=0.2 && <0.3) [details]
License BSD-3-Clause
Copyright (c) 2014 Ben Gamari
Author Ben Gamari
Revised Revision 4 made by BenGamari at 2021-04-21T01:05:08Z
Category Data
Home page
Source repo head: git clone git://
Uploaded by abrar at 2019-11-26T02:18:30Z
Distributions LTSHaskell:, NixOS:, Stackage:
Reverse Dependencies 13 direct, 7787 indirect [details]
Downloads 28974 total (291 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]