JavaScript cursors for immutable data structures.