summaryrefslogtreecommitdiffhomepage
path: root/hierarchical-exceptions.cabal
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbarenblat@galois.com>2014-01-13 15:39:44 -0800
committerGravatar Benjamin Barenblat <bbarenblat@galois.com>2014-01-13 15:39:44 -0800
commit5166756cdcf8a3979176006cde2a4f0db5b09ebf (patch)
tree39a916f9bd17b3f370187ffd61703e6d6990582e /hierarchical-exceptions.cabal
Initial commit
Diffstat (limited to 'hierarchical-exceptions.cabal')
-rw-r--r--hierarchical-exceptions.cabal31
1 files changed, 31 insertions, 0 deletions
diff --git a/hierarchical-exceptions.cabal b/hierarchical-exceptions.cabal
new file mode 100644
index 0000000..a33ca69
--- /dev/null
+++ b/hierarchical-exceptions.cabal
@@ -0,0 +1,31 @@
+cabal-version: >=1.10
+name: hierarchical-exceptions
+version: 1.0.0
+synopsis: Template Haskell functions to easily create exception
+ hierarchies
+description:
+ Haskell supports exception hierarchies, but they require quite a bit of
+ boilerplate to declare. This package leverages Template Haskell to automate
+ declaration of large exception hierarchies.
+ .
+ This package requires GHC 7.6, as a bug in GHC 7.4 prevents expansion of
+ Template Haskell splices using 'deriving Typeable'.
+license: Apache-2.0
+license-file: LICENSE
+author: Benjamin Barenblat
+maintainer: bbarenblat@galois.com
+copyright: © 2014 Galois, Inc.
+stability: provisional
+category: Language
+build-type: Simple
+tested-with: GHC==7.6.3
+
+library
+ hs-source-dirs: src
+ default-language: Haskell2010
+ default-extensions: TemplateHaskell
+ other-extensions: DeriveDataTypeable, ExistentialQuantification
+ exposed-modules: Control.Exception.Hierarchical
+ build-depends: base >=4.6 && <5
+ , template-haskell >= 2.2.0.0 && <3
+ ghc-options: -Wall