Expand description
One value-addressing primitive over Expr.
A path is a sequence of segments: a map key or a sequence index. The wire
form of a segment is Vector([sym("k"), key]) for a map key or
Vector([sym("i"), text(index)]) for a sequence index – exactly the form
the scene differ and the universal editor already emit, so this is a drop-in
for all three previous copies. set_at/remove_at are immutable.
Structs§
- Path
- A path from a root value to a nested value.
Enums§
- Path
Error - A failure navigating or editing along a path.
- Segment
- One step of a path: into a map by key, or into a sequence by index.