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

Stephen Tetley stephen.tetley at gmail.com
Thu Jun 24 03:15:56 EDT 2010


On 24 June 2010 08:08, Ivan Miljenovic <ivan.miljenovic at gmail.com> wrote:

> As an aside, Alex Mason and I are discussing the possibility of taking
> advantage of AusHack *shameless plug* to write some kind of classes
> for the different types of containers with a hierarchy.  I know about
> ListLike, but there doesn't seem to be any applicable classes for
> generic containers (i.e. the abstract API of a Set; something like
> ListLike would then be an extension on it) and for lookup data
> structures (Map k a, [(k, a)], etc.).

There are some classes for bulk types in Simon Peyton-Jones's paper
"Bulk Types with Class".

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


More information about the Haskell-Cafe mailing list