Elixir way of pattern-matching against constants in function signature

See also this discussion that involves some similar code-shapes:

3 Likes