[Haskell] Re: Data.Set whishes

Ketil Malde ketil+haskell at ii.uib.no
Fri Feb 20 12:57:51 EST 2004

Koen Claessen <koen at cs.chalmers.se> writes:

> And instead of:
>   mapSet, emptySet, ...

> We have:
>   Set.map, Set.empty, ...

> This is how Chris does it in Edison.
> Why isn't this used more?

One could possibly argue that the right solution is to put the
operations in classes?  There has from time to time been suggestions
and discussion about doing this, but I guess there are significant
obstacles -- surely, somebody must have tried to clean this up?  Or is
using MPTC (which possibly will be necessary?) regarded as too
non-standard for a library?

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell mailing list