I think that you&#39;re looking for Data.Map. Here&#39;s the docs:<div><a href="http://www.haskell.org/ghc/docs/latest/html/libraries/containers-0.4.2.1/Data-Map.html">http://www.haskell.org/ghc/docs/latest/html/libraries/containers-0.4.2.1/Data-Map.html</a></div>
<div>It&#39;s discussed on LYaH too:</div><div><a href="http://learnyouahaskell.com/making-our-own-types-and-typeclasses">http://learnyouahaskell.com/making-our-own-types-and-typeclasses</a><br><br><div class="gmail_quote">
On Sat, Aug 25, 2012 at 1:05 AM, Christopher Howard <span dir="ltr">&lt;<a href="mailto:christopher.howard@frigidcode.com" target="_blank">christopher.howard@frigidcode.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What is typically used in Haskell circles to provide associative array<br>
functionality? (I.e., key-value type arrays.) I&#39;m not really looking for<br>
efficiency so much as interface convenience. Obviously I could code it<br>
myself based on lists or something, but I don&#39;t want to reinvent the wheel.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<a href="http://frigidcode.com" target="_blank">frigidcode.com</a><br>
<a href="http://indicium.us" target="_blank">indicium.us</a><br>
<br>
</font></span><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br></div>