-- This file has been generated from package.yaml by hpack version 0.15.0.
--
-- see: https://github.com/sol/hpack

name:           safe-exceptions-checked
version:        0.1.0
x-revision: 3
synopsis:       Safe, checked exceptions
description:    Machinery for throwing and catching both pure and impure synchronous exceptions. Based on <https://www.well-typed.com/blog/2015/07/checked-exceptions/ Lightweight Checked Exceptions> by Edsko de Vries and Adam Gundry.
category:       Control
stability:      Unknown
homepage:       https://github.com/mitchellwrosen/safe-exceptions-checked#readme
bug-reports:    https://github.com/mitchellwrosen/safe-exceptions-checked/issues
author:         Edsko de Vries,
                Adam Gundry,
                Mitchell Rosen
maintainer:     Mitchell Rosen
copyright:      2017 Mitchell Rosen
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

source-repository head
  type: git
  location: https://github.com/mitchellwrosen/safe-exceptions-checked

library
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base            >= 4.7     && < 5
    , deepseq
    , safe-exceptions >= 0.1.1   && < 0.1.8
    , transformers    >= 0.2.0.0 && < 0.6
  exposed-modules:
      Control.Exception.Safe.Checked
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      base
    , hspec
    , safe-exceptions-checked
  default-language: Haskell2010