Elixir “with” syntax and guard clauses
In this blog post we will take a look at a simple example of refactoring Elixir code using with
syntax (called a “special form” in the documentation), and guard clauses.
Read next (Ab)using Ecto as Elixir data casting and validation library