Tuples

Tuples are an ordered collection of elements of a fixed size. Each element can be of a different type.

{"Cat", True}  // Type {String, Bool}
{1, 2.0, "3"}  // Type {Int, Float, String}

Contained values can be extracted from tuples using a let binding.

let values = {1, 2.0}
let {x, y} = values

x  // => 1
y  // => 2.0