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¶
- Hello world
- Values, variables, and types
- Functions
- Control flow
- Modules and imports
- Errors (Result/Option and
?) - Strings and formatting
- Collections and iteration
- Enums and better
match - Models vs classes
- Traits and derives
- Newtypes (stronger types)
- Unit tests
Notes¶
- Canonical install/build/run guidance lives under Tooling: Install, build, and run.
- Canonical formatting/style guidance lives under Tooling: Code formatting.
- The generated language reference is discoverable under Language → Reference: Language reference (generated).