dict.m 311 B

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