[Haskell] RFC: DData in hierarchical libraries

Christian Maeder maeder at tzi.de
Tue Mar 9 11:48:49 EST 2004

Simon Marlow wrote:
> Why are there IntBags but no Bags?

As I've said before, rename MultiSet to Bag.

> Internal functions like DData.Set.valid should not be visible.

"valid" may be useful for debugging purposes if certain (for efficiency 
reasons unsafe) functions like "fromDistinctAscList" may produce invalid 
representations (if the argument is not strictly ascending). But I don't 
know if this is the case.


More information about the Libraries mailing list