frankshearar/zipr — Issue #24: Up doesn't preserve "has changed"
Author: frankshearar
Created: 2012-02-25 16:48:36+00:00
State: open

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,

[[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 ---^