[Haskell-cafe] Pattern matching, and bugs
sergueyz at gmail.com
Fri Dec 18 07:22:18 EST 2009
> I would like to have a way for Haskell, not to crash, when my coders write
> pattern matching without the above mentioned general case.
> Like having the compiler auto-include those general cases for us,
> but when those cases got hit, then instead of crashing, it should report
> some error on stdout or stderr.
> (It would be even nicer if it cold have been traced.)
You should not wait for Haskell prime. What you are asking is already
in libraries: http://www.haskell.org/ghc/docs/latest/html/libraries/base-22.214.171.124/Control-Exception.html
More information about the Haskell-Cafe