Expand description
Canonical-AST patches per spec §5.4.
A patch is a structured edit to a Stage. Operations are addressed by
NodeId (the path-based ID from crate::ids). Patches are applied
transactionally by apply_patch: the result is returned as a fresh
Stage value, leaving the input untouched. The caller is responsible
for type-checking and re-publishing the result.
Enums§
Functions§
- apply_
patch - Apply a patch and return the resulting stage. The input is cloned; the original is untouched.