Tom Hawkins wrote:
Any recommendations for speeding up extracting
the set of leaves from a tree?

Tom,

The standard library already has this, in Data.Tree
and Data.Foldable.toList.

I'm interested to know how well that performs compared
to the roll-your-own solutions proposed so far in this
thread.

Thanks,
Yitz
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to