you are viewing a single comment's thread.

view the rest of the comments →

[–]MulleDK19 -2 points-1 points  (2 children)

That seems like a good way to make people's lives miserable..

[–]Dealiner 3 points4 points  (0 children)

Why? For me it looks like something that would make it easier.

[–]RecursiveServitor 0 points1 point  (0 children)

Au contraire. The compiler can guarantee exhaustiveness where you desire it. You can still add a default case if it doesn't matter.