[Chapel Merge] Spec updates for range slicing and tuples

Branch: refs/heads/main
Revision: 2ca475311161ca663f251813aec8a28ff97f93d6
Author: vasslitvinov
Link: Spec updates for range slicing and tuples by vasslitvinov · Pull Request #21921 · chapel-lang/chapel · GitHub
Log Message:
Spec updates for range slicing and tuples (#21921)

This updates the spec for the changes in:

  • rules for range slicing #21760
  • implementation of yielding tuples #21789

While there, clarify yielding by value (not just for the tuples),
reorg/tidy up the sections on value/referential tuples
and tuple arg intents, and do some minor cleanups/updates.

r: @dlongnecke-cray @DanilaFe

Compare: Comparing e013a8c555b31550d2e369e816d77fc925fb4851...4f508e8bf11b2af5a0079172d9eb725ec436eace · chapel-lang/chapel · GitHub

Diff:
M doc/rst/language/spec/iterators.rst
M doc/rst/language/spec/procedures.rst
M doc/rst/language/spec/ranges.rst
M doc/rst/language/spec/tuples.rst
M doc/rst/language/spec/variables.rst
https://github.com/chapel-lang/chapel/pull/21921.diff