Oh, I see! This is really clever.
My initial impression is that it is only possible with Elixir extensions since (x when ...) = ... is simply not supported today and if you expand a pattern with a guard inside a function signature, Elixir will fail to compile the code. But if you have found workarounds, please let me know!






















