Popularity
8.9
Stable
Activity
4.5
-
42
7
32

Monthly Downloads: 232
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Data    
Latest version: v0.6

monoidal-containers alternatives and similar packages

Based on the "Data" category.
Alternatively, view monoidal-containers alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of monoidal-containers or a related project?

Add another 'Data' Package

README

monoidal-containers

Often when working with the containers offered by the containers and unordered-containers packages one would prefer the monoidal structure of the values to be used when resolving conflicts between keys when merging structures. Sadly, these are not the semantics offered by the provided instances. This package provides newtypes with an appropriate set of instances and utility functions to make them usable.

Important Note

This library is designed to be a drop-in replacement for Data.Map and similar. Absolutely no other semantic changes are introduced in functions like fromList or insert. They are still left-biased like Data.Map's. The only difference is in instances for Semigroup.