Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide GHC 9.0+ plugin for beam error messages #586

Open
tathougies opened this issue Aug 25, 2021 · 0 comments
Open

Provide GHC 9.0+ plugin for beam error messages #586

tathougies opened this issue Aug 25, 2021 · 0 comments
Milestone

Comments

@tathougies
Copy link
Collaborator

According to https://well-typed.com/blog/2021/08/the-new-ghc-diagnostic-infrastructure/, GHC will soon have the ability to load 'diagnostic messages' plugins that allow libraries to transform GHC error messages. Beam is well-known for bad error messages, and this is due to its heavy usage of type families and type classes. Nevertheless, the errors all follow similar patterns, especially for newcomers. It would be nice to develop a plugin that at least offered helpful suggestions based on the issues that have been filed against beam. This would help newcomers and old-timers alike.

@tathougies tathougies added this to the 0.10.0.0 milestone Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant