Functions Are the Core

At the start of the book, we said the basis of programming is transforming data. Functions are the little engines that perform that transformation. They are at the very heart of Elixir.

So far we’ve been looking at anonymous functions—although we can bind them to variables, the functions themselves have no name. Elixir also has named functions. In the next chapter we’ll cover how to work with them.

Get Programming Elixir 1.2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.