[Haskell-cafe] ANNOUNCE: error-message
Henning Thielemann
lemming at henning-thielemann.de
Fri Dec 4 10:55:31 EST 2009
Gregory Crosswhite schrieb:
> If there is one thing that we really don't have enough of in Haskell, it is *ways to handle errors*! Thus, I am pleased to announce the release of the "error-message" package to help in filling this, erm, gap.
>
> This philosophy behind this package is that it is often better to find out all of the errors that have occured in a computation and report them simultaneously, rather than aborting as soon as the first error is encountered. Towards this end, this package supplies a type of /combinable error messages/ (ErrorMessage in the Data.ErrorMessage module) so that all of the errors from subcomputations can be gathered and presented together.
I would call such non-serious errors 'warnings'. Warnings can be
collected using Writer monad.
More information about the Haskell-Cafe
mailing list