Table of Contents
Foreword |
A Vain Attempt at a Justification |
Acknowledgments |
1. | Take the Red Pill |
Programming Should Be About Transforming Data |
Installing Elixir |
Running Elixir |
Suggestions for Reading the Book |
Exercises |
Think Different(ly) |
2. | Pattern Matching |
Assignment: I Do Not Think It Means What You Think It Means. |
More Complex Matches |
Ignoring a Value with _ (Underscore) |
Variables Bind Once (per Match) |
Another Way of Looking at the Equals Sign |
3. | Immutability |
You Already Have (Some) Immutable Data |
Immutable Data Is Known Data |
Performance Implications of Immutability |
Coding with Immutable Data |
4. | Elixir Basics |
Built-in Types |
Value Types |
System Types |
Collection Types |
Maps |
Names, Source Files, Conventions, Operators, and So On |
End of the Basics ... |
Get Programming Elixir 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.