packages feed

th-bang-compat-0.0.1.0: th-bang-compat.cabal

name:                th-bang-compat
version:             0.0.1.0
synopsis:            Compatibility for bang-type template
description:         This package provides compatible interfaces
                     for bang-type template
license:             BSD3
license-file:        LICENSE
author:              Kei Hibino
maintainer:          ex8k.hibino@gmail.com
copyright:           Copyright (c) 2019 Kei Hibino
category:            Language
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.10
tested-with:           GHC == 8.6.1, GHC == 8.6.2, GHC == 8.6.3, GHC == 8.6.4, GHC == 8.6.5
                     , GHC == 8.4.1, GHC == 8.4.2, GHC == 8.4.3, GHC == 8.4.4
                     , GHC == 8.2.1, GHC == 8.2.2
                     , GHC == 8.0.1, GHC == 8.0.2
                     , GHC == 7.10.1, GHC == 7.10.2, GHC == 7.10.3
                     , GHC == 7.8.1, GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4
                     , GHC == 7.6.1, GHC == 7.6.2, GHC == 7.6.3
                     , GHC == 7.4.1, GHC == 7.4.2

flag template-haskell-210
       description:  If true, use template-haskell 2.10 or older, otherwise use template-haskell 2.10 or newer.
       default:      False

library
  exposed-modules:
                     Language.Haskell.TH.Compat.Bang

  if flag(template-haskell-210)
    other-modules:
                       Language.Haskell.TH.Compat.Bang.V210
    build-depends:       template-haskell <2.11
  else
    other-modules:
                       Language.Haskell.TH.Compat.Bang.Current
    build-depends:       template-haskell >=2.11

  -- other-extensions:
  build-depends:       base <5
  hs-source-dirs:    src
  default-language:  Haskell2010
  ghc-options:       -Wall

source-repository head
  type:       git
  location:   https://github.com/khibino/haskell-th-bang-compat

source-repository head
  type:       mercurial
  location:   https://bitbucket.org/khibino/haskell-th-bang-compat