-
Notifications
You must be signed in to change notification settings - Fork 661
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
request: document behavior of implicit arguments in generalizing binders #4041
Comments
Comment author: @mikeshulman It seems that when using implicitly generalizing binders, the arguments of the type of the variable being bound have their implicit status frobbed in some way that I do not understand. For instance, we have to write |
|
I would not realize from reading that paragraph that non-typeclass originally-implicit arguments of the type are no longer implicit inside a generalizing binder, unless I already knew it. |
It seems that the point is that the declared implicitness or explicitness of arguments is essentially ignored inside a generalizing binder, being replaced by "all typeclass arguments are implicit while all others are explicit, but if it is only partially applied then the missing arguments are also implicitly added". Is that right? I do think it would also be helpful to mention explicitly that this frobnification doesn't apply to universally quantified typeclasses, because in other contexts those are treated similarly to ordinary typeclasses. |
Note: the issue was created automatically with bugzilla2github tool
Original bug ID: BZ#4041
From: @mikeshulman
Reported version: trunk
CC: coq-bugs-redist@lists.gforge.inria.fr
The text was updated successfully, but these errors were encountered: