th-context-0.20: th-context.cabal
name: th-context
version: 0.20
cabal-version: >= 1.10
build-type: Simple
license: BSD3
category: Template Haskell
author: David Fox
copyright: (c) David Fox
maintainer: David Fox <dsf@seereason.com>
homepage: https://github.com/seereason/th-context
bug-reports: https://github.com/seereason/th-context/issues
stability: experimental
synopsis: Test instance context
description: Use these functions to decide an a not-quite naive fashion
whether an instance already exists that satisfies a given
context. This can be used to decide whether an instance
needs to be generated, as in th-reify-many. Known limitation:
the instances inserted into the InstMap are not fully recognized
when computing the context.
extra-source-files: test/Common.hs test/Context.hs test/Tests.hs test/Values.hs
Library
hs-source-dirs: .
build-depends:
base >= 4.8 && < 5,
containers,
data-default,
haskell-src-exts,
lens,
mtl,
syb,
template-haskell >= 2.10,
th-desugar,
th-orphans >= 0.10.0,
th-typegraph >= 0.24
ghc-options: -Wall -O2
exposed-modules: Language.Haskell.TH.Context
default-language: Haskell2010
test-suite th-context-tests
type: exitcode-stdio-1.0
ghc-options: -Wall -O2
hs-source-dirs: test
main-is: Tests.hs
build-depends: array, base, bytestring, containers, deepseq, ghc-prim,
hspec, hspec-core, lens, mtl, syb, template-haskell, text,
th-context >= 0.19, th-desugar, th-orphans, th-reify-many, th-typegraph >= 0.23
default-language: Haskell2010
source-repository head
type: git
location: git://github.com/seereason/th-context.git