menu_book Course Curriculum (Gleam) expand_more
Language Basics
Types & Data
Functions & Modules
Record constructors
Learn Record constructors in Gleam with a focused explanation, a topic-specific example, and a mastery check.
12 min read
•
Beginner
gleam-010.gleam
gleam
pub type User { User(name: String, active: Bool) }
pub fn main() { let u = User(name: "Ari", active: True); io.debug(u) }
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content