File: exceptions.cabal

package info (click to toggle)
ghc 9.6.6-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 158,216 kB
  • sloc: haskell: 648,228; ansic: 81,656; cpp: 11,808; javascript: 8,444; sh: 5,831; fortran: 3,527; python: 3,277; asm: 2,523; makefile: 2,298; yacc: 1,570; lisp: 532; xml: 196; perl: 145; csh: 2
file content (96 lines) | stat: -rw-r--r-- 2,692 bytes parent folder | download
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name:          exceptions
category:      Control, Exceptions, Monad
version:       0.10.7
cabal-version: >= 1.10
license:       BSD3
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     provisional
homepage:      http://github.com/ekmett/exceptions/
bug-reports:   http://github.com/ekmett/exceptions/issues
copyright:     Copyright (C) 2013-2015 Edward A. Kmett
               Copyright (C) 2012 Google Inc.
build-type:    Simple
tested-with:   GHC == 7.4.2
             , GHC == 7.6.3
             , GHC == 7.8.4
             , GHC == 7.10.3
             , GHC == 8.0.2
             , GHC == 8.2.2
             , GHC == 8.4.4
             , GHC == 8.6.5
             , GHC == 8.8.4
             , GHC == 8.10.7
             , GHC == 9.0.2
             , GHC == 9.2.2
synopsis:      Extensible optionally-pure exceptions
description:   Extensible optionally-pure exceptions.

extra-source-files:
  .ghci
  .gitignore
  .vim.custom
  AUTHORS.markdown
  README.markdown
  CHANGELOG.markdown

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

flag transformers-0-4
  description: Use @transformers-0.4@ or later.
  default:     True

library
  build-depends:
    base                       >= 4.5      && < 5,
    stm                        >= 2.2      && < 3,
    template-haskell           >= 2.7      && < 2.21,
    mtl                        >= 2.0      && < 2.4

  if !impl(ghc >= 8.0)
    build-depends: fail        == 4.9.*

  if flag(transformers-0-4)
    build-depends:
      transformers             >= 0.4      && < 0.7
  else
    build-depends:
      transformers             >= 0.2      && < 0.4,
      transformers-compat      >= 0.3      && < 0.8

  exposed-modules:
    Control.Monad.Catch
    Control.Monad.Catch.Pure

  ghc-options: -Wall -fwarn-tabs -O2
  hs-source-dirs: src
  default-language: Haskell2010

test-suite exceptions-tests
  main-is: Tests.hs
  other-modules: Control.Monad.Catch.Tests
  hs-source-dirs: tests
  ghc-options: -Wall -fwarn-tabs
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  build-depends:
    base,
    exceptions,
    stm,
    template-haskell,
    mtl                        >= 2.0,
    test-framework             >= 0.8      && < 0.9,
    test-framework-hunit       >= 0.3      && < 0.4,
    test-framework-quickcheck2 >= 0.3      && < 0.4,
    QuickCheck                 >= 2.5      && < 2.15

  if flag(transformers-0-4)
    build-depends:
      transformers             >= 0.4      && < 0.7
  else
    build-depends:
      transformers             >= 0.2      && < 0.4,
      transformers-compat      >= 0.3      && < 0.8