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
[EMAIL PROTECTED]

_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to