Nim Programming Cookbook // Tuples

Unpacking a tuple into variables

let ab = (one: "aaa", two: "bbb")
let (b, a) = ab

echo ab
echo a
echo b