Translation of the Erlang OTP book into elixir