View this solution on Exercism to Kitchen Calculator
https://exercism.org/tracks/elixir/exercises/kitchen-calculator/solutions/wagner-de-carvalho
Tags: elixir, programming, patternmatching, case