This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Many-to-Many relation using a pair of Dicts
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2017-09-11 04:48:09 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1
elm-community/elm-test 3.1.0 <= v < 4.0.0 3.1.0
eeue56/elm-all-dict 2.0.1 <= v < 3.0.0 2.0.1


Many-to-Many relation using a pair of Dicts

Build Status

BiDict m n stores related value. Each value of one type has an associated set of the other type.

This is implemented using a pair of Dicts of values of one type to sets of values of the other type. One Dict in each direction.

There is also an EveryBiDict where you can store non-comparable values. It is based on EveryDict from eeue56/elm-all-dict, comparing values using a custom toString. You should make sure your values work correctly with it.