Map, Set

2005-06-03 Thread Serge D. Mechveliani
On 2 Jun 2005 S. Alexander Jacobson [EMAIL PROTECTED] writes Any reason the libaries don't define: class HasNull a where null::a-Bool class HasEmpty a where empty::a I find that I sometimes switch between using lists, sets, or tables as my collection type and the forced import

Re: Map, Set

2005-06-03 Thread Jean-Philippe Bernardy
We've been discussing these issues last year on the libraries list, and we reached the concensus that no concensus could be reached ( :) ) on the ultimate class-based collection framewor (tm). Hence we choose to go for concrete implementation of Set and Map types. Please refer to the libraries

Re: Map, Set libraries

2005-06-02 Thread Christian Maeder
Serge D. Mechveliani wrote: As Jens Fisseler notes, I have made a confusion about Set.elems, Set.toList, Set.setToList. There is even Set.toAscList (although one may argue that should be Set.toDistinctAscList) I think the right choice is Set.toList (replacing setToList) Is Set.elems just a