orddict

orddict

Module

orddict

Module summary

Key-value dictionary as ordered list.

Description

This module provides a Key-Value dictionary. An orddict is a representation of a dictionary, where a list of pairs is used to store the keys and values. The list is ordered after the keys.

This module provides the same interface as the dict(3) module but with a defined representation. One difference is that while dict considers two keys as different if they do not match (=:=), this module considers two keys as different if and only if they do not compare equal (==).

Data types

orddict(Key, Value