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. Known limitation: the instances inserted into the InstMap are not fully recognized when computing the context.

Modules

[Last Documentation]

  • Language
    • Haskell
      • TH
        • Language.Haskell.TH.Context

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.13, 0.20, 0.20.1, 0.22, 0.23, 0.24
Dependencies base (>=4.8 && <5), containers, data-default, haskell-src-exts, lens, mtl, mtl-unleashed (>=0.2.1), syb, template-haskell (>=2.10), th-desugar, th-orphans (>=0.10.0), th-typegraph (>=0.25) [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 2015-08-04T12:29:36Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 3402 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-02 [all 5 reports]