packages feed

th-extras-0.1.0.0: th-extras.cabal

name:                   th-extras
version:                0.1.0.0
stability:              experimental

cabal-version:          >= 1.10
build-type:             Simple

author:                 James Cook <mokus@deepbondi.net>
maintainer:             Erik de Castro Lopo <erikd@mega-nerd.com>
license:                PublicDomain
homepage:               https://github.com/erikd/th-extras

category:               Template Haskell
synopsis:               A grab bag of functions for use with Template Haskell
description:            A grab bag of functions for use with Template Haskell.
                        .
                        This is basically the place I put all my ugly CPP hacks to support
                        the ever-changing interface of the template haskell system by
                        providing high-level operations and making sure they work on as many
                        versions of Template Haskell as I can.
tested-with:
                        GHC == 9.14.1
                        GHC == 9.12.2
                        GHC == 9.10.3
                        GHC == 9.8.4
                        GHC == 9.6.7
                        GHC == 9.4.8
                        GHC == 9.2.8
                        GHC == 9.0.2
                        GHC == 8.10.7
                        GHC == 8.8.4
                        GHC == 8.6.5
                        GHC == 8.4.4

extra-source-files:     ReadMe.md
                      , ChangeLog.md

source-repository head
  type:                 git
  location:             https://github.com/erikd/th-extras.git

Library
  hs-source-dirs:       src
  ghc-options:          -Wall
  exposed-modules:      Language.Haskell.TH.Extras
  build-depends:        base >= 4.11 && < 5
                      , containers < 0.9
                      , template-haskell < 2.25
                      , th-abstraction >= 0.4 && < 0.8
                      , syb < 0.8
  default-language:     Haskell2010

test-suite test
  type:                 exitcode-stdio-1.0
  hs-source-dirs:       test
  main-is:              Main.hs
  other-modules:        Fixtures
                      , Gen
  ghc-options:          -Wall -threaded
  build-depends:        base >= 4.11 && < 5
                      , containers
                      , hedgehog >= 1.0 && < 1.8
                      , syb
                      , template-haskell
                      , th-abstraction
                      , th-extras
  default-language:     Haskell2010