summaryrefslogtreecommitdiffhomepage
path: root/hierarchical-exceptions.cabal
blob: 0b2ba3991fd0ca497633dc466208f89d4ca44668 (plain)
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
cabal-version:       >=1.10
name:                hierarchical-exceptions
version:             1.0.1
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