Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Section 3 — Worked Examples

These examples are interactive in the docs: edit and run them directly on each page.

Tip: You can also run many examples inline with:

cargo run -p rex -- run -c '<paste rex expression here>'

For larger multi-line experiments, saving to a .rex file is often easier.

Chapters

  1. Lists
  2. Folds
  3. Match and ADTs
  4. Records
  5. Functor Polymorphism
  6. Option Pipelines
  7. Result Workflows
  8. Custom Show Printing
  9. Custom Size
  10. Indexable
  11. Small Standard Library
  12. Mini Project