cabal-version:   3.0
name:            th-deepstrict
synopsis:
  Check that datatypes are deep strict using Template Haskell.

description:
  A library for checking that datatypes are deep strict using Template Haskell.
  Deep strictness is a helpful property for enforcing the absence of space leaks
  caused by excessive laziness.

author:          Teo Camarasu <teofilcamarasu@gmail.com>
maintainer:      Teo Camarasu <teofilcamarasu@gmail.com>
version:         0.1.1.0
copyright:       Tracsis plc
license:         BSD-3-Clause
license-file:    LICENSE
build-type:      Simple
category:        Development
bug-reports:     https://github.com/tracsis/th-deepstrict/issues
extra-doc-files:
  CHANGELOG.md
  README.md

tested-with: 
  GHC ==9.2.8 
   || ==9.4.8 
   || ==9.6.4 
   || ==9.8.1

library
  default-language: Haskell2010
  other-extensions: TemplateHaskell
  hs-source-dirs:   src
  exposed-modules:  Language.Haskell.TH.DeepStrict
  ghc-options:      -Wall -Wunused-packages
  build-depends:
    , base              >=4.16.0  && <4.20
    , containers        >=0.6.0   && <0.7
    , mtl               >=2.2     && <2.4
    , template-haskell  >=2.18.0  && <2.22
    , th-abstraction    >=0.7.0   && <0.8
    , th-orphans        >=0.13.14 && <0.14

test-suite test
  type:             exitcode-stdio-1.0
  default-language: Haskell2010
  other-extensions: TemplateHaskell
  main-is:          Spec.hs
  hs-source-dirs:   test
  other-modules:    Language.Haskell.TH.DeepStrict.Golden
  ghc-options:      -Wall -Wunused-packages -threaded
  build-depends:
    , base
    , bytestring
    , containers
    , directory
    , tasty
    , tasty-golden
    , template-haskell
    , th-deepstrict
    , unordered-containers

source-repository head
  type:     git
  location: https://github.com/tracsis/th-deepstrict.git