well, sadly, you have to turn on an option to get exhaustivity checking. Which annoys me, because sometimes I forget to turn it on for a small project/script.
I need to come up with a haskell "new project" template thing
Wall!it’s great.
[A clarification to the less familiar: --Wall is a compiler option that stands for "all warnings".]
And in ghc is enables coverage checking for pattern matching. The most amazing compiler feature in most compilers