menu_book Course Curriculum (Gleam) expand_more
Language Basics
Types & Data
Functions & Modules
List.filter
Learn List.filter in Gleam with a focused explanation, a topic-specific example, and a mastery check.
12 min read
•
Intermediate
gleam-026.gleam
gleam
import gleam/list
pub fn main() { io.debug(list.filter([1,2,3,4], fn(x){ x % 2 == 0 })) }
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content