-
Notifications
You must be signed in to change notification settings - Fork 459
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
match
-syntax leftovers
#1345
Comments
Suggestion: |
The auxiliary variables are shown here only because of forward dependencies from the |
I think we should absolutely show let-values, because they are just as important as types. For example, There is an argument to be made to (maybe) collapse (large) let-values by default (à la leanprover/vscode-lean4#76 (comment)), but there should definitely be an indication that this is a let-binding, and the let-value should be inspectable in the infoview.
Most other programming languages don't have ζ-reduction (on the type level), so the let-value doesn't make a difference for type-checking. And most don't show the local context at all.
Note that |
Another idea might be to somehow discourage the use of |
It's a bit like in the module system: perhaps reducibility is not the right default after all, in all cases. |
I think this is a good change. I agree we rarely need dependent |
The auxiliary variables created by
![image](https://user-images.githubusercontent.com/2778936/180315773-9f101a24-e68f-42d0-810d-b82481b7564f.png)
match
-syntax expander are visible in the infoview.It does not bother the developers too much because most of us use Emacs, but during the ICERM after-party hackton, it was an issue for people using VS Code.
Example:
The text was updated successfully, but these errors were encountered: