Hello all,

A discussion of GHC and error messages came up on ghc-devs. I'd like to give back to the community and try to improve this part of GHC. So, I created a repo to collect error messages (https://github.com/bollu/hask-error-messages-catalog). That way, there's some concrete context for anyone who's working on the error messages subsystem of GHC.

Elm does this as well (https://github.com/elm-lang/error-message-catalog), though they catalogue *all* errors.

I'd be grateful for short examples where GHC generates unintuitive error messages, and perhaps a short explanation of what *would* be useful if possible. If you do have certain examples, please either open a pull request against the repository, or post a snippet on the mailing list. 

Thanks for the help,
~Siddharth
--
Sending this from my phone, please excuse any typos!