packages feed

cautious-0.1.0.0: cautious.cabal

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

name:           cautious
version:        0.1.0.0
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
homepage:       https://github.com/Nickske666/cautious#readme
bug-reports:    https://github.com/Nickske666/cautious/issues
author:         Nick Van den Broeck
maintainer:     nick.van.den.broeck666@gmail.com
copyright:      2018 Nick Van den Broeck
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

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

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

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

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