Trees

object Trees

Builds trees of Leaf nodes from flat ones.

Functions

Link copied to clipboard
fun <F : Flat, L : Leaf<L>> Iterable<F>.toTree(root: L, toLeaf: (F) -> L): L

The tree under root of these flat nodes, each made a leaf by toLeaf.