packages feed

siggy-chardust-1.0.0: siggy-chardust.cabal

-- This file has been generated from package.dhall by hpack version 0.27.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: caddbc72be273f0c35678cbd4bf92145658c4269405fbef8b37e9f7b77adabe0

name:           siggy-chardust
version:        1.0.0
synopsis:       Rounding rationals to significant digits and decimal places.
description:    The round function from the prelude returns an integer. The standard librarys of C and C++ have round functions that return floating point numbers. Rounding in this library takes and returns rationals and can round to a number of significant digits or a number of decimal places.
category:       data, math, numeric
homepage:       https://github.com/blockscope/flare-timing/tree/master/siggy-chardust#readme
bug-reports:    https://github.com/blockscope/flare-timing/issues
author:         Phil de Joux
maintainer:     phil.dejoux@blockscope.com
copyright:      © 2017-2018 Phil de Joux, © 2017-2018 Block Scope Limited
license:        MPL-2.0
license-file:   LICENSE.md
tested-with:    GHC == 8.2.2
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    changelog.md
    package.dhall
    README.md

source-repository head
  type: git
  location: https://github.com/blockscope/flare-timing
  subdir: siggy-chardust

library
  exposed-modules:
      Data.Ratio.Rounding
  other-modules:
      Paths_siggy_chardust
  hs-source-dirs:
      library
  ghc-options: -Wall
  build-depends:
      base >=4.8 && <5
  default-language: Haskell2010

test-suite digits
  type: exitcode-stdio-1.0
  main-is: Rounding.hs
  other-modules:
      Data.Ratio.Rounding
      Paths_siggy_chardust
  hs-source-dirs:
      library
      test-suite-digits
  ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N
  build-depends:
      base
    , smallcheck
    , tasty
    , tasty-hunit
    , tasty-quickcheck
    , tasty-smallcheck
  default-language: Haskell2010

test-suite doctest
  type: exitcode-stdio-1.0
  main-is: DocTest.hs
  other-modules:
      Data.Ratio.Rounding
      Paths_siggy_chardust
  hs-source-dirs:
      library
      test-suite-doctest
  ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N
  build-depends:
      base
    , doctest
  default-language: Haskell2010

test-suite hlint
  type: exitcode-stdio-1.0
  main-is: HLint.hs
  other-modules:
      Data.Ratio.Rounding
      Paths_siggy_chardust
  hs-source-dirs:
      library
      test-suite-hlint
  ghc-options: -Wall -rtsopts -threaded -with-rtsopts=-N
  build-depends:
      base
    , hlint
  default-language: Haskell2010