Tour of Lux · chapter 2 of 8
Values
Bindings, mutability, lists, and records.
let binds a value; bindings are immutable unless you say let mut. Numbers, strings, and booleans behave the way you expect.Lists index from zero; records are written with
{key: value} and read with dot access. len, first, and last work on both lists and strings.