Summary

Functional programming is all about transforming data and if we're going to work with Solar Flares, we need to understand how Lists work - how we query, slice, dice, add and remove. That's what we're going to do now.

Four Important Friends

There are three Elixir modules that you'll use most often when working with lists of data: Enum, List and Keyword:

In addition to these, Elixir supports list comprehensions. This is syntactic sugar for iterating over enumerable structures, but comes with built-in filters and the unique ability to have more than one generator. We'll get to these last - they can be quite complicated.

Code

Added a whole mess of planet tests
View Code or clone the repo from https://github.com/bigmachine-io/taking-off