There are three very similar ways to represent maps between keys and values, each of which have a specific purpose:
| key value pairs | common representation of arguments | [\freq, 452, \amp, 0.2] | 
| collections of associations | ordering, array and collection methods | [0 -> [1, 2, 3], 1 -> [2, 1]] | 
| dictionaries: fast lookup | event compatibility | (instrument: \sine, freq: 561) | 
To make it easy to translate between these purposes and representations, there is a uniform set of methods:
| asPairs | returns an array of key value pairs | 
| asAssociations | returns an array of associations | 
| asDict | returns an IdentityDictionary. | 
The method asDict optionally takes a mergeFunc and a class argument.
The method asEvent is a shortcut:
The methods asAssociations and asPairs optionally take a class argument.