At the moment the standard way to use the GHC API is something like
_ <- load LoadAllTargets
modSum <- getModSummary mn
p <- parseModule modSum
And likewise if renamed or typechecked ASTs are needed.
But the `load` step alre
And I gather I can do this with the compiler hooks.
Alan
On Mon, Sep 5, 2016 at 8:27 PM, Alan & Kim Zimmerman
wrote:
> At the moment the standard way to use the GHC API is something like
>
> _ <- load LoadAllTargets
> modSum <- getModSummary mn
>
Hello Alan,
SPJ and I both think that GhcMake is well overdue for a rewrite.
But it's not altogether obvious what the rewrite should look like.
I've made some remarks here:
https://gist.github.com/ezyang/50004e0f842eec5848acad5cf1c22240
I'm OK with small, incremental changes that make tooling's