...

/

Creating a Map Function

Creating a Map Function

Learn about the map function in Elixir.

We'll cover the following...

In the previous lessons, we described the square and len() functions. All the work is done in the second function definition, and that definition looks about the same for each:

  • It returns a new list
...