BSD-3-Clause licensed and maintained by Ziyang Liu

Module documentation for 0.1.1

This version can be pinned in stack with:multi-containers-0.1.1@sha256:182ef47ac0a93a906e819fb395a17e1cc56f48902cae169dd8f50da9b7ab30dd,1651

multi-containers

A library that provides three multimap variants:

  • Multimap k a, a multimap where values of each key form a list.
  • SetMultimap k a, a multimap where values of each key form a set.
  • Table r c a, a two dimensional table where values are indexed by row keys and column keys; it is essentially a multimap where values of each key form a map.

For Multimap and SetMultimap, there’s always at least one value associated with each key in the multimap. Upon removing the last value of a key, the key itself is removed from the multimap.

For Table, similarly, each row key in a table always has at least one value. So does each column key.

Changes

Changelog for multi-containers

0.1.1

  • Add min/max functions for Data.Multimap and Data.Multimap.Set.

0.1.0.2

  • Remove redundant constraints

0.1.0.1

  • Update README

0.1.0.0

  • Initial release
Depends on 2 packages(full list with versions):