Given a value aVal and a list of children someChildren, returns a tree whose root is labeled by aVal and with someChildren as the children of the root. The function checks that someChildren is really a list of trees.
aVal
someChildren
a value at the root of the tree
a list of children trees
a tree with aVal at its root
Given a value
aVal
and a list of childrensomeChildren
, returns a tree whose root is labeled byaVal
and withsomeChildren
as the children of the root. The function checks thatsomeChildren
is really a list of trees.