- Support semialign-1.1
- Deprecates 0.5.* and reverts behavior of fromList, insert, mapKeys, etc. to match behavior in Data.Map. The only difference in behavior between Data.Map.Monoidal.MonoidalMap and Data.Map.Map is now the semigroup and monoid instances (as was the case in 0.4 and earlier).
- Fix the argument order of Data.HashMap.Monoidal.insert
- Remove Data.HashMap.Monoidal.insertOrReplace as it is now identical to Data.HashMap.Monoidal.insert
- Added Data.HashMap.Monoidal.insertWith and Data.HashMap.Monoidal.fromListWith
- Add a flag,
split-these
, to select whether to use the new "these"/"semialign" packages or the older combined "these" package. - Add default.nix to make it easier to hack on this package in nix
- Added Data.IntMap.Monoidal and Data.IntMap.Monoidal.Strict, corresponding to Data.IntMap and Data.IntMap.Strict
- Make
fromList
,insert
, andmapKeys
fromData.Map.Monoidal
andData.Map.Monoidal.Strict
requireSemigroup
on values to properly capture monoidal behavior instead of reverting to the left-biased semantics ofData.Map
. - Add Align instances and, for sufficiently recent versions of
these
, Semialign instances - Support
these
0.8.0
General changes:
- Added support for
unordered-containers < 0.2.8
- Added many more functions in
Data.Map.[Strict.]Monoid
Weakened Monoid
constraints to Semigroup
whenever possible as enabled by the
Semigroup-Monoid
proposal.
This includes,
- the
Monoid
instance ofMonoidalHashMap
andMonoidalMap
- the
IsList
instance ofMonoidalHashMap
andMonoidalMap
- the
modifyDef
andmapKeys
functions ofMonoidalHashMap
Pre-history