• Given a value aVal and an array 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 lazy value.

    Parameters

    • aVal: any

      a value at the root of the tree

    • someChildren: Lazy<TreeIL<any>[]>

      an array of children trees

    Returns TreeIL<any>

    a tree with aVal at its root