Chapter 9. A Short Visit to Common Data Structures

Chances are that you now understand the functional subset of Erlang pretty well and could read many programs without a problem. However, I bet it’s still a bit hard to think about how to build a real, useful program, even though Chapter 8 was about solving problems in a functional manner. Well, that’s how I felt at this point in my Erlang studies—if you’re doing better, congratulations!

So far, we’ve covered a bunch of topics, including most of the basic data types, the shell, how to write modules and functions (with recursion), different ways to compile, how to control the flow of the program, how to handle exceptions, and how to abstract away some common operations. We’ve also gone over how to ...

Get Learn You Some Erlang for Great Good! 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.