Rex Tutorial
This tutorial is a guided walk-through of writing Rex code.
All code samples are interactive in the docs, so you can edit and run each snippet as you go.
If you want a compact reference instead, see the Language Reference. For locked semantics and edge cases, see the Specification.
The tutorial is divided into three sections:
- Section 1 — Basics — Core language features and syntax
- Section 2 — Advanced Topics — Type system, polymorphism, and typeclasses
- Section 3 — Worked Examples — Practical examples and patterns