Hacker News new | ask | show | jobs
by Buttons840 2540 days ago
Can't you just do that with a catch all pattern match?
1 comments

It’s only relevant if you have a catch-all match. The idea is to get a compiler warning when new patterns become available instead of a runtime warning.