Interesting that this works. It is a great example of how Elixir is very regular in the syntax it provides (what I mean by that, is that there are nearly now ‘exceptions’ to when certain syntax is possible).
Of course, in the example above, readability is probably improved by extracting the case-statement to its own function.


















