With struct do

I came up with something here: Unpack named tuples (does anyone know how to do it?) - #13 by Mason but I don’t think there’s any good way to turn a setfield! statement like the one you show: field3 = field1 + field2 into x.field3 = x.field1 + x.field2 so I posted it in the other thread rather than this one.