Map, Set libraries

Serge D. Mechveliani mechvel at botik.ru
Thu Jun 2 06:39:26 EDT 2005


As Jens Fisseler notes, I have made a confusion about

Set.elems, Set.toList, Set.setToList.

Docs on   setToList  occurs all right (`Obsolete' item).
And for some reason,  Data.Set.html  shows the pair
> > "
> >   elems :: Set a -> [a]
> >   O(n). The elements of a set.
> > 
> >   toList :: Set a -> [a]
> >   O(n). Convert the set to a list elements.
> > "

Hm, let it be.
I do not know, maybe the documentation could say why there are 
two of them.

-----------------
Serge Mechveliani
mechvel at botik.ru



More information about the Glasgow-haskell-users mailing list