Plugin system does not expose generated code by template haskell
I am writing a ghc-plugin which writes tags (aka vim tags) for Haskell. It's working very well just using parsedResultAction
which exposes abstract syntax tree (ghc-tags-plugin).
I would like to also have access to generated code by TemplateHaskell
. This would allow to write tags for lenses generated by TemplateHaskell
- and make them discoverable. The tag would still point to the splice in the source code, but one can embed additional information (like type).