[Haskell-cafe] Collections

Lennart Augustsson lennart at augustsson.net
Tue Jun 19 18:07:19 EDT 2007

I'm afraid I must agree with you a little.  Many people use lists when a
different data structure would have been better.  It's a pity, because
Haskell provides a large number of different data structures.

On 6/19/07, Andrew Coppin <andrewcoppin at btinternet.com> wrote:
> Jens Fisseler wrote:
> > The equivalent of Haskell's list data type would be the array type of
> most
> > imperative or object-oriented languages. Both are some sort of basic
> > collection type, good for their own sake, but if you want more
> > specialized collection types, you have to implement them.
> >
> Maybe it's just a culture thing then... In your typical OOP language,
> you spend five minutes thinking "now, what collection type shall I use
> here?" before going on to actually write the code. In Haskell, you just
> go "OK, so I'll put a list here..."
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070619/8b8e509f/attachment-0001.htm

More information about the Haskell-Cafe mailing list