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