Comment by eru
9 years ago
I suspect we are in violent agreement. I was just taking aim at
> [...] "undo" is done by swapping the last left Leaf with an empty Leaf. Redo is done by rotating the last left node's leaves.
Which is more complicated than you need to be in an immutable setting to implement undo/redo.
No comments yet
Contribute on Hacker News ↗