What you can do as you go
| Where you are | What you can do |
|---|---|
| Start Here: Level 4 | You write typed functional Gleam: patterns, lists, custom types and pipelines with compiler-checked confidence. |
| Levels 5–9 | You model states that cannot be invalid, design generic typed APIs, and handle every failure as a value. |
| Levels 10–12 | You interop with BEAM and JavaScript through honest boundaries, and build typed concurrent actors. |
| Levels 13–14 | You test, publish and operate portable Gleam: with per-target performance claims you measured. |
| Project ladder | Five desktop app projects from a typed CLI to a published Hex package: type-safe functional programming on two runtimes. |
The Gleam course, level by level
| Level | Lessons in it |
|---|---|
| Start Here: Typed Functional Programming on BEAM | Gleam, BEAM and JavaScript Targets; Why Gleam's Type System Matters |
| Level 1: Gleam Foundations | Values and Types; Functions; Control Through Expressions |
| Level 2: Pattern Matching | Patterns; Case Expressions; Destructuring Data |
| Level 3: Collections | Lists; Tuples; Collection Transformation |
| Level 4: Custom Types | Records and Variants; Option and Result; Modelling Valid States |
| Level 5: Functional Design | Pipelines; Higher-Order Functions; Immutable Transformation |
| Level 6: Generics & Type Design | Generic Functions; Generic Custom Types; Designing Type-Safe APIs |
| Level 7: Modules & Packages | Modules; Gleam Packages; Dependency and Library Design |
| Level 8: Error Handling | Result-Based Errors; Pattern-Based Recovery; Reliable Functional Error Design |
| Level 9: BEAM Interoperability | Calling Erlang and Elixir; External Types and Functions; BEAM Ecosystem Integration |
| Level 10: JavaScript Interoperability | JavaScript Target; External JavaScript; Cross-Runtime Library Design |
| Level 11: Concurrency | BEAM Processes; Message-Based Concurrent Design; Fault-Tolerant Gleam Concepts |
| Level 12: Testing & Tooling | Gleam Tooling; Testing; Publishing Packages |
| Level 13: Performance & Production | BEAM Runtime Behaviour; JavaScript Runtime Behaviour; Designing Portable Production Gleam |
| Level 14: Gleam Mastery | Advanced Type Modelling; Functional Architecture; Reading and Improving Complex Gleam |
Every level ends with a checkpoint and flashcards on what it taught.
Start Here: Typed Functional Programming on BEAM: what the free first level teaches
Gleam, BEAM and JavaScript Targets
- Its own language. Gleam is a distinct, statically typed functional language: with its own compiler, syntax and ecosystem.
- Two targets. One Gleam codebase compiles to the Erlang VM or to JavaScript: servers and browsers from one source.
- Friendly tooling. The gleam compiler is famously friendly: errors that teach, formatting and docs built into one tool.
Why Gleam's Type System Matters
- Types up front. Gleam checks every type at compile time: whole bug families never reach either runtime.
- No nil, no exceptions. Gleam has no nil and no exceptions: absence and failure are ordinary typed values.
- Confidence to refactor. Sound types make refactoring fearless: change a type, and the compiler lists every consequence.
Projects you build
The course has 5 projects, built in the LoWisa desktop app, each in the role of someone who does this work.
| Role | Project | The situation |
|---|---|---|
| Gleam Developer | Typed Budget CLI | A budgeting CLI where the type system does the bookkeeping: custom types for every state, Results for every failure, exhaustive matches the compiler enforces. |
| Gleam Developer | Markdown Table-of-Contents Tool | A documentation tool: parse Markdown headings, build a typed tree, emit a table of contents: a real parser where exhaustive matching and recursion carry everything. |
| Gleam Engineer | Rescue an Untyped-Boundary Codebase | You inherit a Gleam service whose authors fought the language: dynamic data passed deep inside, panics as error handling, one giant module, and an external binding that lies about its type. Repair it. |
| Senior Gleam Engineer | Cross-Target Feed Library + Services | One codebase, two runtimes: a feed-parsing core compiled to BEAM for a server and to JavaScript for a browser widget: the portable architecture done honestly. |
| Gleam Specialist | Publish a Typed Validation Package | Build the definitive piece: a validation combinator library for Gleam: typed rules, accumulated errors, phantom-typed proofs: published to Hex with documentation the compiler checked. |
How you learn it
- One idea at a time. Each lesson teaches a few ideas and asks you about each before it moves on.
- A checkpoint and flashcards at the end of every level. See Checkpoints and flashcards.
- Games on what you have learned. See Revision games.
- On your phone. The app is on Google Play and the App Store. See Getting started.
Frequently asked questions
How many levels does the LoWisa Gleam course have?
15 levels with 44 lessons, from Start Here: Typed Functional Programming on BEAM to Level 14: Gleam Mastery.
Is the Gleam course free?
The first level, Start Here: Typed Functional Programming on BEAM, is free, with its checkpoint and flashcards. A plan opens the rest; see Plans and credits in the Help centre.
Where does the Gleam course start?
With Start Here: Typed Functional Programming on BEAM. Its first lesson is "Gleam, BEAM and JavaScript Targets".