
8 Oct
2024
8 Oct
'24
6:17 a.m.
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