Example code from Introducing Elixir.