This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
A collection of counted elements
version 1.0.5
license BSD3
native-modules False
elm-version 0.16.0 <= v < 0.17.0
Tag 1.0.5
Committed At 2016-01-29 16:02:49 UTC
elm-lang/core 3.0.0 <= v < 4.0.0 3.0.0



Multiset for Elm

Represent a collection of counted elements in Elm, by Max Goldstein.

NOTICE: This package is being renamed mgold/elm-multiset, lowercase, for compatibility.

Documentation is provided for each function. Submit bugs, requests, and the like through GitHub.

Multisets are wrappers around Dicts, which (as of 0.16) do not support equality. Therefore the library provides an equals function. It considers missing values to equal values of zero. However, values of zero are removed by the library anyway. If you can create a value of zero without using the Dict library directly, it's a bug so please report it.

To run the tests, run elm reactor in the top level and navigate to test/test.elm.