Popularity
4.8
Growing
Activity
3.6
-
6
5
0

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

multi-containers alternatives and similar packages

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

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

Add another 'Data Structures' Package

README

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.