recursiveLoop done.
This lets evaluate a function on a node recursively and within the
context of the node's parent (i.e. within the same call for the parent.)
It is a generalization of foreach for prefix trees.