The label at the root of this tree.
The child nodes of this tree.
Binds the given function across all the subtrees of this tree.
A 2D String representation of this Tree.
Pre-order traversal.
Maps the elements of the Tree into a Monoid and folds the resulting Tree.
Breadth-first traversal.
A TreeLoc zipper of this tree, focused on the root node.
A histomorphic transform.
A histomorphic transform. Each element in the resulting tree is a function of the corresponding element in this tree and the histomorphic transform of its children.
Turns a tree of pairs into a pair of trees.
Inspired from the scalaz (https://github.com/scalaz/scalaz) project