File: enclosed-exceptions.cabal

package info (click to toggle)
haskell-enclosed-exceptions 1.0.3-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 88 kB
  • sloc: haskell: 256; makefile: 3
file content (47 lines) | stat: -rw-r--r-- 1,911 bytes parent folder | download | duplicates (4)
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
name:                enclosed-exceptions
version:             1.0.3
synopsis:            Catching all exceptions from within an enclosed computation
description:         Catching all exceptions raised within an enclosed computation,
                     while remaining responsive to (external) asynchronous exceptions.
                     For more information on the technique, please see:
                     <https://www.fpcomplete.com/user/snoyberg/general-haskell/exceptions/catching-all-exceptions>
homepage:            https://github.com/jcristovao/enclosed-exceptions
license:             MIT
license-file:        LICENSE
author:              Michael Snoyman, João Cristóvão
maintainer:          jmacristovao@gmail.com, michael@snoyman.com
category:            Control
build-type:          Simple
cabal-version:       >=1.8
extra-source-files:  README.md ChangeLog.md

library
  exposed-modules:   Control.Exception.Enclosed
  hs-source-dirs:    src
  build-depends:       base                          >= 4.6        && < 5
                     , transformers
                     , lifted-base                   >= 0.2
                     , monad-control
                     , deepseq
                     , transformers-base
  ghc-options:         -Wall -fno-warn-orphans

test-suite test
    hs-source-dirs: src, test
    main-is: main.hs
    type: exitcode-stdio-1.0
    build-depends:   base
                   , lifted-base                   >= 0.2
                   , monad-control
                   , async                         >= 2.0
                   , deepseq
                   , hspec                         >= 1.3
                   , QuickCheck
                   , stm
                   , transformers
                   , transformers-base
    ghc-options:     -Wall

source-repository head
  type:     git
  location: git://github.com/jcristovao/enclosed-exceptions.git