packages feed

simple-units-1.0.2: simple-units.cabal

cabal-version:      1.12
name:               simple-units
version:            1.0.2
license:            MIT
license-file:       LICENSE
copyright:          2019 Gustavo Roscoe
maintainer:         gustavo@gustavoroscoe.com
author:             Gustavo Roscoe
homepage:           https://github.com/groscoe/simple-units#readme
bug-reports:        https://github.com/groscoe/simple-units/issues
synopsis:
    Simple arithmetic with SI units using type-checked dimensional analysis.

description:
    Please see the README on GitHub at <https://github.com/groscoe/simple-units#readme>

category:           Numeric, Numerical
build-type:         Simple
extra-source-files: README.md

source-repository head
    type:     git
    location: https://github.com/groscoe/simple-units

library
    exposed-modules:  Units.Simple
    hs-source-dirs:   src
    other-modules:
        Units.Simple.Arithmetic
        Units.Simple.Internals
        Units.Simple.Quantity
        Units.Simple.Unit
        Paths_simple_units

    default-language: Haskell2010
    ghc-options:      -Wall -Wcompat
    build-depends:
        base >=4.9 && <5,
        first-class-families >=0.4 && <0.9

test-suite simple-units-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    other-modules:    Paths_simple_units
    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        base >=4.12.0.0 && <4.13,
        doctest >=0.16.0.1 && <0.17,
        simple-units -any