OrderedDict

Usage

use OrderedDict;

or

import OrderedDict;
record dict : serializable
type keyType
type valType
var table : map(keyType, valType)
var order : list(keyType)
proc init(in table: map(?keyType, ?valType), in order: list(keyType))
proc init(in table: map(?keyType, ?valType))
proc init(type keyType, type valType)
proc size : int
iter keys() : keyType
iter values() : valType
iter ref these()
proc ref insert(key: keyType, in value: valType)