O'Reilly logo

Learning Elixir by Kenny Ballou

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 4. Collections and Stream Processing

Now that we have the syntactical basics of Elixir, we can really start to do exciting things. In particular, we can take some of the ideas mentioned in the previous chapter—recursion and pattern matching—to do some really exciting and cool things. For example, we can introduce one of the coolest operators of Elixir, the pipe operator (|>); start doing something called pipeline programming; and borrow an idea from the early days of computing.

Keywords, maps, and dictionaries

However, we should take a quick moment to introduce more collections. We have covered lists and tuples as either linked lists or contiguous blocks of memory similar to arrays, respectively. However, there is another set of types we ...

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