3 ms·
> Haskell doesn't have exhaustive pattern matching it just gives you a warning. It can have exhaustive pattern matching if you use `-Werror`. That's frequentl
by ParetoOptimal 4y ago
> Haskell doesn't have exhaustive pattern matching it just gives you a warning.
It can have exhaustive pattern matching if you use `-Werror`.
That's frequently the default in an industrial Haskell setting.
I wish that non-exhaustive patterns would be an error by default though.