# This YAML file describes your package. Stack will automatically generate a # Cabal file when you run `stack build`. See the hpack website for help with # this file: . author: Adam Gundry maintainer: Adam Gundry name: uom-plugin synopsis: Units of measure as a GHC typechecker plugin description: |- The @uom-plugin@ library adds support for units of measure to GHC using the new experimental facility for typechecker plugins, which is available in GHC 7.10 and later. See "Data.UnitsOfMeasure.Tutorial" for an introduction to the library. category: Type System license: BSD3 license-file: LICENSE stability: experimental github: adamgundry/uom-plugin copyright: Copyright (c) 2014-2018, Adam Gundry tested-with: >+ GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2 extra-source-files: - package.yaml - changelog ghc-options: - -Wall - -fno-warn-unticked-promoted-constructors library: dependencies: - base >=4.7 && <5 - deepseq >=1.3 && <1.5 - ghc >= 7.9 && <8.4 - ghc-tcplugins-extra >=0.1 && <0.3 - template-haskell >=2.9 && <2.13 - containers >=0.5 && <0.6 - units-parser >=0.1 && <0.2 source-dirs: src exposed-modules: - Data.UnitsOfMeasure - Data.UnitsOfMeasure.Convert - Data.UnitsOfMeasure.Defs - Data.UnitsOfMeasure.Internal - Data.UnitsOfMeasure.Plugin - Data.UnitsOfMeasure.Read - Data.UnitsOfMeasure.Show - Data.UnitsOfMeasure.Singleton - Data.UnitsOfMeasure.Tutorial tests: units: dependencies: - base - uom-plugin - tasty >=0.10 && <1.1 - tasty-hunit >=0.9 && <0.10.1 ghc-options: - -O0 other-extensions: TemplateHaskell main: Tests.hs source-dirs: - tests hlint: dependencies: - base - hlint >= 1.7 && <2.2 ghc-options: - -Wall - -O0 - -rtsopts - -threaded - -with-rtsopts=-N main: HLint.hs source-dirs: - hlint version: '0.3.0.0'