How to Collect Type Errors?

Guanda Yuan guandayuan0715 at gmail.com
Fri Jul 30 18:02:56 UTC 2021


Hello all,

I want to write a plugin for Haskell Language Server, to collect type
errors in the code. I'm new to GHC API, so I need some help. My current
thought is, I can collect diagnostics or the error messages and extract the
type error infos. I have tried to referred to the Haddock documentation for
GHC API, but I'm still not sure which function should I use.

Thanks,
Guanda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20210730/cb789cf1/attachment.html>


More information about the ghc-devs mailing list