Lesson 8 of 20 · about 14 min
Sequences: map, filter, reduce
Most work on lists follows three patterns. Transform every item (map), keep some items (filter), combine everything into one value (reduce). Chain them like an assembly line.
🔓 Unlock this lesson
This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.
In this lesson you'll learn:
- map
- filter
- reduce
Free to try in F03 Programming 2: Abstraction & Recursion:
The first 3 lessons of every course are free, no account needed.