-
Notifications
You must be signed in to change notification settings - Fork 246
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
To let or not to let #2369
Comments
FTR, these cannot be turned into |
Good point: indeed there are times when we have no choice, because the implementation scheme for |
Unfortunately, Agda currently does not have any way to create a local shared closure: |
Time to revisit after 2.7.0's introduction of |
That would be great - but we'd need to know how |
I was not the one who implemented it, but I believe I started working on implementing proper |
Right now,
let
in Agda generates substitutions (as confirmed by Andreas here amongst other places). The attempted fix for this has stalled even though it is an extremely old issue.The advice is to favour
where
overlet
.The question is: do we program stdlib to current Agda or some optimistic future Agda that will have a better implementation of
let
?Given just how long this has been a wart, I'm of the opinion that being optimistic would be ill-placed (even though I'm actually normally fairly optimistic!)
The text was updated successfully, but these errors were encountered: