Inspired from the scalaz (https://github.com/scalaz/scalaz) project
- Companion:
- object
Value members
Abstract methods
Concrete methods
Binds the given function across all the subtrees of this tree.
Binds the given function across all the subtrees of this tree.
Pre-order traversal. Flatten the tree using a foldLeft to avoid SOF
Pre-order traversal. Flatten the tree using a foldLeft to avoid SOF
Maps the elements of the Tree into a Monoid and folds the resulting Tree.
Maps the elements of the Tree into a Monoid and folds the resulting Tree.
A TreeLoc zipper of this tree, focused on the root node.
A TreeLoc zipper of this tree, focused on the root node.
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.
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.