packages feed

quotet-0.0.1.0: quotet.cabal

cabal-version: 2.4
name: quotet
version: 0.0.1.0

synopsis: Monad transformer for Quote from template-haskell
description:
  A monad transformer for the @Quote@ type class from template-haskell, in spirit of the [Overloaded Quotations proposal](https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0246-overloaded-bracket.rst) proposal implemented in GHC 9.0.
category: Template Haskell

homepage: https://github.com/amesgen/quotet
bug-reports: https://github.com/amesgen/quotet/issues
license: CC0-1.0
license-file: LICENSE
extra-source-files: README.md
author: amesgen
maintainer: amesgen@amesgen.de
extra-source-files: CHANGELOG.md

source-repository head
  location: https://github.com/amesgen/quotet
  type: git

flag exceptions
  description: Support instances from exceptions
  default: False
  manual: True

flag semigroupoids
  description: Support instances from semigroupoids
  default: False
  manual: True

flag monad-control
  description: Support instances from monad-control
  default: False
  manual: True

common commons
  default-language: Haskell2010
  ghc-options: -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -fno-warn-name-shadowing -fhide-source-paths -Wunused-packages
  default-extensions: DerivingStrategies FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses StandaloneDeriving UndecidableInstances

library
  import: commons
  ghc-options: -Wmissing-export-lists
  hs-source-dirs: src
  exposed-modules:
    Control.Monad.Quote
    Control.Monad.Quote.Internal
  build-depends:
      base >= 4.14 && < 5
    , template-haskell >= 2.16 && < 2.19
    , th-compat >= 0.1.2
    , mtl ^>= 2.2
  if flag(exceptions)
    build-depends: exceptions ^>= 0.10
  if flag(semigroupoids)
    build-depends: semigroupoids ^>= 5.3
  if flag(monad-control)
    build-depends: transformers-base ^>= 0.4, monad-control ^>= 1.0