effect-tree
    Preparing search index...

    Variable setForestConst

    setForest: {
        <A, B, C>(
            forest: [B, ...B[]],
            self: TreeF.TreeF<A, C>,
        ): TreeF.TreeF<A, B>;
        <A, C>(
            self: TreeF.TreeF<A, C>,
        ): <B>(forest: [B, ...B[]]) => TreeF.TreeF<A, B>;
    } = ...

    Set the forest of a tree node.

    Type Declaration

    The underlying type of the tree. For example, in a numeric tree it would be number.

    New child node type.

    The child node type, also called the carrier type.

    A tree with the new forest.