213. Indexed.at(k) takes a key; positional walks use nth (2026-11-22)
- Decision. R12's
Indexed.at(k: K)iss[k], and R05.6.3 saysa[i] = 5isa.at(i) = 5, butstd.seqbodies (select,zip,merge_sorted,next_permutation, the partitions,radix_sort) used.at(i)as a 0-based walk offset. One meaning wins:.atis a key everywhere (R12.4.13), and generic code that counts from 0 reads with.nth(i). Onw = s[2..],w.at(2)iss[2]andw.at(0)traps, asw[0]does. A key-shaped name for a positional read would makew.at(k)andw[k]disagree on every view. - Reverse. Define
atas the walk offset, rename the trait method (get), and rewrite R05.6.3 and R12.4.13.