This is just the other way of writing Multiple OR conditions. This is not the recommended approach because in regular approach when the condition evaluates to true , it stops executing the remaining conditions which saves time of evaluation unlike this approach which evaluates all conditions first in a list. This is just good for discoveries.
2. i( term)
It prints the information about a data type of given term. Try that in iex
and see the magic.
iex> i(1..5)
3. iex Custom Configuration
Save the following file as .iex.exs
in your ~
home directory and see the magic.