effect-tree
    Preparing search index...

    Function modBranch

    Run the given function over the given tree if it is a branch, else return the tree unchanged. This is like match where the onLeaf branch is set to identity.

    Underlying tree type.

    Tree on which to run the given function.

    A function from Branch to Tree.

    The tree unchanged if it is a leaf, else the result of applying the given function on the branch.