dict Module

/

/string string dget

See dget.

?

?string string dhas?

See dhas?.

%

%string string dset

See dset.

ddup

dict1 dict2

Returns a copy of dict1.

ddel

dict 'sym dict

Removes 'sym from dict1 and returns dict1.

dget

dict 'sym a

Returns the value of key 'sym from dictionary dict.

dhas?

dict 'sym bool

Returns true if dictionary dict contains the key 'sym, false otherwise.

dkeys

dict (string*)

Returns a quotation containing all the keys of dictionary dict.

dpick

dict1 quot dict2

Returns a new dictionary dict2 containing the elements of dict1 whose keys are included in quot.

dset

dict a 'sym dict

Sets the value of the 'sym of dict1 to a, and returns the modified dictionary dict.

dvalues

dict (a*)

Returns a quotation containing all the values of dictionary dict.