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

Tutorials

Small complete programs, each run by the repository’s test suite with the output shown. Run one with

./snail-scheme run --target node examples/fibonacci.sld
  • snail-scheme in ten minutes: the whole language at a glance, as one commented program. Start here.
  • Fibonacci: a typed recursive function and output.
  • Colors: records, enums, typeclasses and pattern matching.
  • Capabilities: a port as a value, and what a callback does.
  • Values and mutation: shared objects, mutable fields and fresh explicit factory functions and shared state.

Siegework is the complete application.