$accumulator, null]; yield [6, [1, 2, 3], static fn ($accumulator, $k, $v) => $accumulator + $v, 0]; yield [6, Iter\to_iterator([1, 2, 3]), static fn ($accumulator, $k, $v) => $accumulator + $v, 0]; } }