
24 Jun
2010
24 Jun
'10
3:20 a.m.
On 24 June 2010 17:15, Stephen Tetley
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@gmail.com IvanMiljenovic.wordpress.com