197. A domain's nth, at and wrap and a position's offset cost O(1) (2026-11-22)
- Decision.
V.nth(k)is typedfn(x: Int) -> V, likeV.wrap, and in a fn's estimated costV.nth,V.at,V.wrapandv.offset(ahead,back) count as one step each: they are arithmetic on the position's rank. - Why.
V.nth(k)hovered nothing, so any fn calling it got no estimate. No fn in the ports gains an estimate from this alone: each one using these is also blocked by another call. - Reverse. Drop
"nth"from the domain members incpl-check'smember_tyand thepositionalspans pushed tofixed_ioafter it.