On 24 June 2010 17:15, Stephen Tetley <stephen.tet...@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.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to