explicit-exception: Exceptions which are explicit in the type signature.

[ bsd3, control, library ] [ Propose Tags ] [ Report a vulnerability ]

Synchronous and Asynchronous exceptions which are explicit in the type signature. The first ones are very similar to Either and Control.Monad.Error.ErrorT. The second ones are used for System.IO.readFile and System.IO.hGetContents. This package is a proposal for improved exception handling in Haskell. It strictly separates between handling of exceptional situations (file not found, invalid user input, see http://wiki.haskell.org/Exception) and (programming) errors (division by zero, index out of range, see http://wiki.haskell.org/Error). Handling of the first one is called "exception handling", whereas handling of errors is better known as "debugging".

For applications see the packages midi, spreadsheet, http-monad.

Although I'm not happy with the identifier style of the Monad Transformer Library (partially intended for unqualified use) I have tried to adopt it for this library, in order to let Haskell programmers get accustomed easily to it.

See also: unexceptionalio

Flags

Automatic Flags
NameDescriptionDefault
buildtests

Build executables that demonstrate some space leaks

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1, 0.0.2, 0.1, 0.1.0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.7.1, 0.1.7.2, 0.1.7.3, 0.1.8, 0.1.9, 0.1.9.1, 0.1.9.2, 0.1.10, 0.1.10.1, 0.2
Dependencies applicative (>=1.0 && <1.1), base (>=1 && <5), bytestring (>=0.9.0.1 && <0.13), deepseq (>=1.1 && <1.6), explicit-exception, semigroups (>=0.1 && <1.0), tar (>=0.4 && <0.6), transformers (>=0.2 && <0.7) [details]
Tested with ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==8.0.2, ghc ==8.4.1, ghc ==9.6.0
License BSD-3-Clause
Author Henning Thielemann <haskell@henning-thielemann.de>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
Revised Revision 2 made by HenningThielemann at 2023-10-07T15:16:14Z
Category Control
Home page http://wiki.haskell.org/Exception
Source repo head: darcs get https://hub.darcs.net/thielema/explicit-exception/
this: darcs get https://hub.darcs.net/thielema/explicit-exception/ --tag 0.2
Uploaded by HenningThielemann at 2023-01-14T16:11:16Z
Distributions Fedora:0.2, LTSHaskell:0.2, NixOS:0.2, Stackage:0.2
Reverse Dependencies 28 direct, 25 indirect [details]
Executables ee-writer, ee-unzip, ee-test, ee-tar
Downloads 20834 total (88 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-01-14 [all 1 reports]