This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Dict with arbitrary ordering (like List)
version 2.1.2
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.1.2
Committed At 2018-04-09 20:47:42 UTC
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1
elm-community/list-extra 5.0.0 <= v < 8.0.0 7.1.0
eeue56/elm-all-dict 2.0.0 <= v < 3.0.0 2.0.1

README

Build Status

elm-dictlist

Have you ever wanted a Dict, but you need to maintain an arbitrary ordering of keys? Or, a List, but you want to efficiently lookup values by a key? With DictList, now you can!

DictList implements the full API for Dict (and should be a drop-in replacement for it). However, instead of ordering things from lowest key to highest key, it allows for an arbitrary ordering.

We also implement most of the API for List. However, the API is not identical, since we need to account for both keys and values.

But there's more! What if you would like a dictionary with keys that are not comparable, using eeue56/elm-all-dict? We have thought of you, too, with AllDictList and EveryDictList.

API

For the detailed API, see the Elm package site, or the links to the right, if you're already there.

Installation

Try elm-package install Gizra/elm-dictlist

Development

Try something like:

git clone https://github.com/Gizra/elm-dictlist
cd elm-dictlist
npm install
npm test