[erlang-questions] data structure like skips list in Erlang

Benoit Chesneau bchesneau@REDACTED
Sun Oct 8 19:14:10 CEST 2017


Hi all,

I’m looking for a datastructure like a skiplist to maintain an ordered set of Key/Values. It has to have the following properties:

* allows custom compare function to order the data in a specific order
* allows the user to iterate forward (next) and backward (prev) the data

Has someone already written a lib that offers such datastructure? Or maybe we can add a `prev(Key) function to gb_tree? Any idea i welcome :)

- benoit


More information about the erlang-questions mailing list