Hi,
I am running a compiler plugin over hundreds of libraries to extract
statistical data. I use the plugin like it is done here:
https://github.com/coot/ghc-tags-plugin
So I just have to add a cabal.project.local to a library with:
ignore-project: False
package test
ghc-options:
I have the same problem with a compiler plugin that I am writing.
In GHC Core I need to get from a dict-fun identifier (e.g.
$fMyClassDouble to the type class instance bindr (starting with $c).
lookupInstEnv from the InstEnv module seemed to do it, but it seems to
look up the matching key