effect-tree
    Preparing search index...

    Function prepend

    • Insert the given node as the first child of the given focus.

      At the keys move and tryMove you will find versions where the focus has been moved to the newly inserted node.

      Type Parameters

      • A

        The underlying type of the tree.

      Parameters

      Returns EndoOf<Zipper.Zipper<A>>

      A function that takes a zipper and returns an updated zipper where the focus node has been replaced.

    Index

    Methods

    Methods