blob: c1262e6a52ab7672c2ef762b828a307ddd948d05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Dictionary: module {
PATH: con "/dis/lib/dict.dis";
Dict: adt {
entries: list of (string, string);
add: fn( d: self ref Dict, e: (string, string) );
delete: fn( d: self ref Dict, k: string );
lookup: fn( d: self ref Dict, k: string ) :string;
keys: fn( d: self ref Dict ): list of string;
};
};
|