159. (V, V) is an inline product domain; k-parameter lambdas unpack k-tuples (2026-11-21)
- Decision. Written as a value,
(V, K)is the anonymous product domain that[V, K]Tis indexed by. A lambda with k parameters, passed where a function of one k-tuple is expected, unpacks the tuple:(V, V).all((u, v) => ...). - Why. Ryan asked for
(V, V).all((u, v) => ...)while reading the egoi23p4 port, which nestedV.all(u => V.all(v => ...)). The checker already accepted both forms, and ports already relied on unpacking (dist.items.filter_map((v, d) => ...)); the spec only showed the declareddomain P = (V, V)and the doubled((u, v)) =>. The callee's signature is fixed, so this is spelling, not overloading. - Reverse. Require
domain P = (V, V)and((u, v)) =>, and remove the bullets in chapters 02 and 06.