th-context

Test instance context

https://github.com/seereason/th-context

Latest on Hackage:0.24

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by David Fox
Maintained by David Fox

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.