Unpacking a named tuple using field names and slurping?

Print what you have left in r after each line there and it should be clear why you can’t extract the y field (or any other field) a second time.