O'Reilly logo

Functional Programming: A PragPub Anthology by Michael Swaine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11Getting Functional with Elixir

by Dave Thomas

In the preceding chapter, we looked at the basics of pattern matching and saw how it is universal in Elixir—it’s the only way to bind a value to a variable or parameter. That may have seemed like an unusual way to start talking about functional programming, but it’s very natural for Elixir. And pattern matching really shines when we apply it to functions, which we’ll explore in depth in this chapter.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required