Gleam
Full course · 21 lessonsGleam is a friendly, statically-typed functional language that compiles to Erlang (BEAM). It offers a modern Rust-inspired type system, actor-based concurrency, and seamless interop with the BEAM ecosystem.
Getting Started with Gleam
Install, project setup, hello world.
Values and Types
Integers, floats, strings, bools.
Control Flow
case expressions and pattern matching.
Functions
Typed functions and pipelines.
Lists
Immutable lists and List functions.
Result and Error Handling
Typed errors with Result.
Option Types
Handle missing values.
Custom Types
Model data with tagged unions.
Records
Named fields and updates.
Modules
Organize code with modules.
String Functions
Manipulate text.
Maps
Key-value storage.
IO and FFI
Interact with the outside world.
Generics
Type-parameterized code.
The Erlang Runtime
BEAM VM and OTP.
Build a CLI Tool
Parse args and build tools.
HTTP Servers
Build web services.
JSON
Encode and decode JSON.
Testing
Write unit tests with gleeunit.
Project Structure
Organize a real project.
Ecosystem and Next Steps
Packages and community.

