title: Does the Maxima language have a map/dictionary data structure and if it does, how is one initiated and how are its values and keys accessed?
body: <p>SourceForge is currently down, so I can't access Maxima's documentation and came here with this question. I'm building a question in Moodle that would benefit from this container type. I've tried</p>
  
  <pre><code>optionmap : {"key1" : value1, "key2" : value2};
  minmaxlist : [[max(resurssiMap["key1"],resurssiMap["key2"]),true,&lt;key of maximum value&gt;],
  [min(resurssiMap["key1"],resurssiMap["key2"]),false,&lt;key of minimum value&gt;]];
  </code></pre>
  
  <p>but this produces the error <code>assignment: cannot assign to key1</code>.</p>
  
  <p>Is there a way to fix this. In the code sample above, I would like to insert the keys of the maximum and minimum values (which I won't know until the execution of the <code>max()</code>- and <code>min()</code>-functions) the their respective places as indicated, which I don't know how to do either.</p>
  
  <p>Any ideas on how to achieve this?</p>