Using tuple-wrapping to improve `with` expressions in Elixir
Wrap your return values in tuples so you can clearly match them in the else block
The with expression allows us to declare clauses and their expected results. The clauses are executed in order until…