[Haskell-beginners] How to convert a Data.Set to a Descending List?
Sunil S Nandihalli
sunil.nandihalli at gmail.com
Sun Aug 21 10:18:05 CEST 2011
Hello everybody,
Is there a more efficient way to convert a Set to a descending list?
I was looking for a function similar to Set.toAscList something like
Set.toDecList . I feel first converting to a ascending list and then
reversing may be in-efficient given that I actually don't need all the
elements only a last couple of elements..
Thanks,
Sunil.
More information about the Beginners
mailing list