packages feed

cautious-0.0.0.0: cautious.cabal

name: cautious
version: 0.0.0.0
cabal-version: >=1.10
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: 2018 Nick Van den Broeck
maintainer: nick.van.den.broeck666@gmail.com
homepage: https://github.com/Nickske666/cautious#readme
bug-reports: https://github.com/Nickske666/cautious/issues
synopsis: Keep track of warnings and errors during calculations.
description:
    A Cautious monad "Monoid w => Cautious w e a" which keeps track of the success of a task. The options are "CautiousWarning w a" (where "CautiousWarning mempty a" represents "success") and "CautiousError e". In addition, there is a monadtransformer "Monad m, Monoid w => CautiousT w e m a"
category: Testing
author: Nick Van den Broeck
extra-source-files:
    ChangeLog.md
    README.md

source-repository head
    type: git
    location: https://github.com/Nickske666/cautious

library
    exposed-modules:
        Import
        Cautious.Cautious
        Cautious.CautiousT
    build-depends:
        QuickCheck >=2.9 && <2.11,
        aeson -any,
        base >=4.10 && <5,
        genvalidity-hspec-aeson -any,
        hspec -any,
        hspec-discover -any,
        transformers -any,
        validity -any
    default-language: Haskell2010
    default-extensions: NoImplicitPrelude
    hs-source-dirs: src/
    other-modules:
        Paths_cautious
    ghc-options: -Wall

test-suite cautious-test
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    build-depends:
        QuickCheck -any,
        aeson -any,
        base >=4.10 && <5,
        cautious -any,
        genvalidity -any,
        genvalidity-hspec -any,
        genvalidity-hspec-aeson -any,
        hspec -any,
        hspec-discover -any,
        transformers -any,
        validity -any
    default-language: Haskell2010
    hs-source-dirs: test/
    other-modules:
        Cautious.CautiousSpec
        Cautious.Gen
        TestImport
        Paths_cautious
    ghc-options: -threaded -rtsopts -with-rtsopts=-N