traverse package:ral

Apply an action to every element of a Tree, yielding a Tree of results.
Apply an action to non-empty Tree, yielding a Tree of results.
Apply an action to every element of a Tree and its index, yielding a Tree of results.
Apply an action to every element of a Tree and its index, ignoring the results.