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

Hints in error messages #269

Open
gabrielhdt opened this issue May 2, 2022 · 0 comments
Open

Hints in error messages #269

gabrielhdt opened this issue May 2, 2022 · 0 comments

Comments

@gabrielhdt
Copy link
Member

gabrielhdt commented May 2, 2022

It has been suggested in #263 (comment) that hints could be added to error messages in general. For instance, instead of

Parsing error: Beta-redex are not allowed in the left-hand side of rewriting rule

raised when parsing for instance the rewrite rule
[X] f ((x => x) X) --> X., we could provide a hint

Parsing error: Beta-redex are not allowed in the left-hand side of rewriting rule.

Hint: have you tried replacing ((x => x) X) with X?

This could be part of a rehaul of the error system with #193, #242.

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