packages feed

HasBigDecimal-0.2.0.0: HasBigDecimal.cabal

cabal-version: 1.12

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

name:           HasBigDecimal
version:        0.2.0.0
synopsis:       A library for arbitrary precision decimal numbers.
description:    Please see the README on GitHub at <https://github.com/thma/HasBigDecimal#readme>
category:       Math
homepage:       https://github.com/thma/HasBigDecimal#readme
bug-reports:    https://github.com/thma/HasBigDecimal/issues
author:         Thomas Mahler
maintainer:     thma@apache.org
copyright:      2018-2022 Thomas Mahler
license:        Apache-2.0
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.1
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/thma/HasBigDecimal

library
  exposed-modules:
      Data.BigDecimal
      Data.BigFloating
  other-modules:
      Paths_HasBigDecimal
  hs-source-dirs:
      src
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wname-shadowing -Wtype-defaults -Wincomplete-patterns -Wmissing-signatures -Wunused-top-binds
  build-depends:
      base >=4.7 && <5
  default-language: Haskell2010

executable HasBigDecimal-Demo
  main-is: Main.hs
  other-modules:
      Taylor
      Paths_HasBigDecimal
  hs-source-dirs:
      demo
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HasBigDecimal
    , base >=4.7 && <5
  default-language: Haskell2010

executable benchmark
  main-is: Main.hs
  other-modules:
      Paths_HasBigDecimal
  hs-source-dirs:
      benchmark
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HasBigDecimal
    , base >=4.7 && <5
    , criterion
  default-language: Haskell2010

test-suite HasBigDecimal-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Data.BigDecimalSpec
      Data.BigFloatingSpec
      Data.TestUtils
      Paths_HasBigDecimal
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      HasBigDecimal
    , QuickCheck
    , base >=4.7 && <5
    , hspec
  default-language: Haskell2010
  build-tool-depends: hspec-discover:hspec-discover == 2.*