[Haskell-cafe] Fwd: signficant improvements to the containers package

Ivan Miljenovic ivan.miljenovic at gmail.com
Thu Jun 24 03:20:08 EDT 2010

On 24 June 2010 17:15, Stephen Tetley <stephen.tetley at gmail.com> wrote:
> There are some classes for bulk types in Simon Peyton-Jones's paper
> "Bulk Types with Class".

Cool, I'll have a look.

> Personally, I'll take a lot of convincing that a class approach will
> be better than using the module system...

My rational for a class approach is that rather than having your
library spit out a list of values, etc. you let the consumer pick
which data type they prefer (if they're going to be just converting
your list into a Set, then why not give them a Set to start with?).

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list