Search⌘ K
AI Features

Using the Enum Module

Explore how to apply Elixir's Enum module to handle common data operations with higher-order functions. Learn to manipulate lists, maps, and group data efficiently, enhancing your functional programming skills with reusable and flexible code.

We'll cover the following...

Higher-order functions

The each, map, reduce, and filter list operations are used in almost all of the programming tasks we do with lists. Thanks to Elixir’s core team, we don’t need to write these higher-order functions every time we start a new Elixir project because they’re available in the Enum module. We wrote all these functions to understand how to create higher-order functions. From now on, we’ll use them directly from the Enum module. ...

Terminal 1
Terminal
Loading...

The Enum functions work like our homemade functions. ...