Wrapping Up
You’ve seen the full power of functions. Higher-order functions play an important role in a lot of Elixir’s core functions and libraries. Let’s review what you’ve learned about higher-order functions in this chapter:
-
They are very handy for creating useful functions with a simple interface.
-
They are present everywhere, such as when working with lists, files, processes, and I/O.
-
Elixir features such as the pipe operator and partial application are useful for combining functions and delaying function evaluation.
-
They build a fundamental interface to functions that have lazy computation.
In the next chapter, we’ll cover exciting features for designing our application entities. We’ll see how to create structs, polymorphisms, and behaviours. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access