docs: tuple syntax cutover — Tuple(...) type, .(...) value, channel-outside-Tuple failables
Rewrite specs.md tuple/failable/pack/UFCS/grammar sections to the new syntax, update readme.md, and refresh stale tuple references in example header comments. Also fixes two pre-existing doc inaccuracies surfaced in review: drop the value-discarding `;` in the tuple-return examples, and correct the §13 function-type grammar production (optional param list + optional trailing `!` channel). Optional semantics unchanged. current/CHECKPOINT-LANG.md logs the cutover.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Feature 1 — materialize a tuple from a pack via `(..xs.method)` (Decision 2:
|
||||
// a pack is stored by materializing a tuple). `(..xs.get)` projects `get` over
|
||||
// Feature 1 — materialize a tuple from a pack via `.(..xs.method)` (Decision 2:
|
||||
// a pack is stored by materializing a tuple). `.(..xs.get)` projects `get` over
|
||||
// the pack and collects the results into a real tuple value, which can then be
|
||||
// stored, indexed, and (for `Box(T)`) is heterogeneous per position.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user