Sourceror.Zipper.update

You're seeing just the function update, go back to Sourceror.Zipper module for more information.

Specs

update(zipper(), (tree() -> tree())) :: zipper()

Replaces the current node in the zipper with the result of applying fun to the node.