[Haskell-beginners] associative arrays

Patrick Redmond plredmond at gmail.com
Sat Aug 25 07:18:52 CEST 2012


I think that you're looking for Data.Map. Here's the docs:
http://www.haskell.org/ghc/docs/latest/html/libraries/containers-0.4.2.1/Data-Map.html
It's discussed on LYaH too:
http://learnyouahaskell.com/making-our-own-types-and-typeclasses

On Sat, Aug 25, 2012 at 1:05 AM, Christopher Howard <
christopher.howard at frigidcode.com> wrote:

> What is typically used in Haskell circles to provide associative array
> functionality? (I.e., key-value type arrays.) I'm not really looking for
> efficiency so much as interface convenience. Obviously I could code it
> myself based on lists or something, but I don't want to reinvent the wheel.
>
> --
> frigidcode.com
> indicium.us
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120825/cf36b3e1/attachment.htm>


More information about the Beginners mailing list