packages feed

teardown-0.3.0.0: teardown.cabal

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

name:           teardown
version:        0.3.0.0
synopsis:       Build composable components for your application with clear teardown semantics
description:    The teardown library allows you to reliably deallocate resources
                created when initializing your application. It provides:
                .
                - A ComponentM monad that allows you to build and compose resources with
                  cleanup semantics
                .
                - An API that composes IO cleanup sub-routines safely
                .
                Check Control.Teardown.Tutorial for more information.
category:       System
stability:      alpha (experimental)
homepage:       https://github.com/roman/Haskell-teardown#readme
bug-reports:    https://github.com/roman/Haskell-teardown/issues
author:         Roman Gonzalez
maintainer:     romanandreg@gmail.com
copyright:      © 2017 Roman Gonzalez
license:        MIT
license-file:   LICENSE
tested-with:    GHC==8.0.1 GHC==8.0.2 GHC==8.2.1
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    CHANGELOG.md
    README.md

source-repository head
  type: git
  location: https://github.com/roman/Haskell-teardown

library
  hs-source-dirs:
      src
  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
  build-depends:
      base >=4.8 && <5
    , protolude
    , safe-exceptions
    , text
    , time
    , ansi-wl-pprint
    , exceptions
    , deepseq
  exposed-modules:
      Control.Teardown
      Control.Teardown.Tutorial
      Control.Monad.Component
  other-modules:
      Control.Teardown.Internal.Types
      Control.Teardown.Internal.Core
      Control.Teardown.Internal.Printer
      Control.Monad.Component.Internal.Types
      Control.Monad.Component.Internal.Core
  default-language: Haskell2010

test-suite teardown-doctest
  type: exitcode-stdio-1.0
  main-is: DocTest.hs
  hs-source-dirs:
      test/doctest
  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.8 && <5
    , protolude
    , safe-exceptions
    , text
    , time
    , doctest
    , Glob
    , QuickCheck
    , teardown
  default-language: Haskell2010

test-suite teardown-test
  type: exitcode-stdio-1.0
  main-is: TestSuite.hs
  hs-source-dirs:
      test/tasty
  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.8 && <5
    , protolude
    , safe-exceptions
    , text
    , time
    , tasty
    , tasty-hunit
    , tasty-hspec
    , tasty-smallcheck
    , tasty-rerun
    , teardown
  other-modules:
      ComponentTest
      TeardownTest
  default-language: Haskell2010

benchmark teardown-benchmark
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      benchmark
  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.8 && <5
    , protolude
    , safe-exceptions
    , text
    , time
    , criterion >=1.1 && <1.3
    , teardown
  default-language: Haskell2010