Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Up doesn't preserve "has changed" #24

frankshearar opened this Issue · 0 comments

1 participant


While rooting after a mutation works just fine - by directing rooting through a has-changed mechanism - simply using up throws away the fact that something's changed.

For instance, this fails

[[1]].zipper.down.down.replace(2).up.root.should == [[2]]

even though

    [[1]].zipper.down.down.replace(2).root.should == [[2]]
            # Note the lack of up ---^
@frankshearar frankshearar referenced this issue from a commit
@frankshearar Fix issue #24: navigating up (as one would during a map on a preorder…
… traversal of a tree of sufficient depth) would forget that mutations had occurred.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.