this will be logical and consistent. or #default everywhere instead of _
case (#default, #unknown):
on Wed, 10 Jan 2018 07:12:27 +0000 Antoine Cœur <firstname.lastname@example.org> wrote:
And what about, as an alternative:
case (_, #unknown): … matches any int and any unknown enum case ...
case _: … matches anything ...
Then it clearly goes the "pattern matching" way.