The th-context package

[ Tags: 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.


Versions 0.13, 0.20, 0.20.1, 0.22, 0.23, 0.24
Dependencies atp-haskell (>=1.14), base (>=4.8 && <5), containers, data-default, haskell-src-exts, lens, mtl, mtl-unleashed (>=0.5), pretty, syb, template-haskell (>=2.10), th-desugar, th-orphans (>=0.10.0) [details]
License BSD3
Copyright (c) David Fox
Author David Fox
Maintainer David Fox <>
Category Template Haskell
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Fri Oct 14 17:52:19 UTC 2016 by DavidFox
Distributions NixOS:0.24
Downloads 514 total (6 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-10-14 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees