/var/lib/ghc/package.conf.d/explicit-exception-0.1.6.conf is in libghc-explicit-exception-dev 0.1.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | name: explicit-exception
version: 0.1.6
id: explicit-exception-0.1.6-352838f1a3f65189bfee97696c00c2e7
license: BSD3
copyright:
maintainer: Henning Thielemann <haskell@henning-thielemann.de>
stability: Experimental
homepage: http://www.haskell.org/haskellwiki/Exception
package-url:
synopsis: Exceptions which are explicit in the type signature.
description: 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://www.haskell.org/haskellwiki/Exception>) and
(programming) errors (division by zero, index out of range,
see <http://www.haskell.org/haskellwiki/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.
.
To do:
Because many people requested it,
we will provide a @bracket@ function that frees a resource
both when an exception and an error occurs,
that is, it combines exception handling and debugging.
However note that freeing resources in case of an error is dangerous
and may cause further damage.
category: Control
author: Henning Thielemann <haskell@henning-thielemann.de>
exposed: True
exposed-modules: Control.Monad.Exception.Asynchronous
Control.Monad.Exception.Synchronous
hidden-modules: Control.Monad.Exception.Warning
Control.Monad.Exception.Label Control.Monad.Label
System.IO.Straight System.IO.Exception.File
System.IO.Exception.BinaryFile System.IO.Exception.TextFile
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/explicit-exception-0.1.6/ghc-7.4.1
library-dirs: /usr/lib/haskell-packages/ghc/lib/explicit-exception-0.1.6/ghc-7.4.1
hs-libraries: HSexplicit-exception-0.1.6
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.5.0.0-40b99d05fae6a4eea95ea69e6e0c9702
transformers-0.2.2.0-367ec8196a45fab9903c082ddf1e964e
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/lib/ghc-doc/haddock/explicit-exception-0.1.6/explicit-exception.haddock
haddock-html: /usr/share/doc/libghc-explicit-exception-doc/html/
|