dict Module

/

/str str dget

See dget.

%

%str str 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.

dget-raw

dict 'sym dict:rawval

Returns the value of key 'sym from dictionary dict, wrapped in a dict:rawval.

dhas?

dict 'sym bool

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

dkeys

dict (str*)

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.

dpairs

dict (a*)

Returns a quotation containing a quotation for each value/key pair (value first, key second) of dictionary dict.

dset

dict a 'sym dict

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

dset-sym

dict 'sym 'sym dict

Sets the value of the 'sym of dict1 to 'sym (treating it as a symbol), and returns the modified dictionary dict.

dtype

dict str

Returns a string set to the type of dict (empty if the dictionary has no type).

dvalues

dict (a*)

Returns a quotation containing all the values of dictionary dict.