> The only way to construct a tuple is to remember exactly the order of the > fields.
You can use named fields instead of the [] operator. This is valid:
let x = (a: 5, b: 4.2)
echo x.a
Run
> The only way to construct a tuple is to remember exactly the order of the > fields.
You can use named fields instead of the [] operator. This is valid:
let x = (a: 5, b: 4.2)
echo x.a
Run