The Incan Book (Basics)¶
This is a linear tutorial track intended for new readers.
Goals:
- learn the core language fundamentals with runnable examples
- keep pages short and sequential (next/prev)
- avoid mixing “how-to” and “reference” into the main learning flow
Chapters¶
01Hello world
02Values, variables, and types
03Functions
04Control flow
05Modules, imports, and module-owned state
06Errors: Result, Option, and
?
07Strings and formatting
08Collections and iteration
09Enums and better match
10Models vs classes
11Traits and derives
12Newtypes and stronger types
13Unit tests
Notes¶
- Canonical install/build/run guidance lives under Tooling: Install, build, and run.
- Canonical formatting/style guidance lives in the language reference: Incan Code Style Guide.
- The generated language reference is discoverable under Language → Reference: Language reference (generated).