Skip to content

Beta-reduce under blocks #10267

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

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

nicolasstucki
Copy link
Contributor

{ ...; (x: T) => f(x) }.apply(y) is beta-reduced to { ...; val x = y; f(x) }.

@nicolasstucki
Copy link
Contributor Author

Noticed this limitation in #10262

@nicolasstucki nicolasstucki force-pushed the beta-reduce-under-blocks branch 3 times, most recently from e6f4b74 to b907914 Compare November 10, 2020 17:35
@nicolasstucki nicolasstucki marked this pull request as ready for review November 10, 2020 21:09
`{ ...; (x: T) => f(x) }.apply(y)` is beta-reduced to `{ ...; val x = y; f(x) }`.
@nicolasstucki nicolasstucki force-pushed the beta-reduce-under-blocks branch from b907914 to 0d33869 Compare November 11, 2020 08:53
@nicolasstucki nicolasstucki merged commit 5c8e6ec into scala:master Nov 11, 2020
@nicolasstucki nicolasstucki deleted the beta-reduce-under-blocks branch November 11, 2020 13:48
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants