In the frontend everything is driven by tuple when you destructure. so that catches too an inner namedtuple
After the lowering, everything tends to be array/vector-oriented.
When you splat out inside a container, it will iterate / collect silently
The two cases you point out is the default case there since a namedtuple iterates on value
@assert (; a=1, b=2, c=3) |> collect == [1, 2, 3]
So we’ve got a solution, but it’s a bit tricky and inconsistent. Half of a bug
The parser/lowerer may handle this case better. But what about
There must be a frontier. Moreover The scheme & julia code there is very hard to maintain / onboard / evolve. It’s well known Scheme is a famous prankster when it’s about lisping on S