Hi,

Is there a way to compute some value inside a plugin hook, and then make that available to a later hook (other than horrible hacks like writing it to a global `IORef` / `MVar`)?

For example, suppose my `parsedResultAction` looks at the parsed AST and computes a `MySourceStats` from it. How can I then access that `MySourceStats` value from my `typeCheckResultAction`?


Thanks,
        Gergo
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to