th-context: Test instance context

[ bsd3, library, template-haskell ] [ Propose Tags ]

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.

Versions [faq] 0.13, 0.20, 0.20.1, 0.22, 0.23, 0.24
Dependencies base (>=4.2 && <5), containers, data-default, haskell-src-exts, mtl, syb, template-haskell (>=2.9), th-desugar, th-orphans (>=0.10.0) [details]
License BSD-3-Clause
Copyright (c) David Fox
Author David Fox
Maintainer David Fox <dsf@seereason.com>
Category Template Haskell
Home page https://github.com/seereason/th-context
Bug tracker https://github.com/seereason/th-context/issues
Source repo head: git clone git://github.com/seereason/th-context.git
Uploaded by DavidFox at Fri Apr 24 20:04:00 UTC 2015
Distributions NixOS:0.24
Downloads 1852 total (84 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2015-11-25 [all 7 reports]

Modules

  • Language
    • Haskell
      • TH
        • Language.Haskell.TH.Context
          • Language.Haskell.TH.Context.Expand
          • Language.Haskell.TH.Context.Helpers
          • Language.Haskell.TH.Context.Simple
        • Language.Haskell.TH.TypeGraph

Flags

NameDescriptionDefaultType
patched-for-trac-9262

This can be turned on if ghc-7.8 has had a patch applied to fix issue 9262

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees