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

Implement new lambda syntax #7465

Open
gamebox opened this issue Jan 4, 2025 · 1 comment
Open

Implement new lambda syntax #7465

gamebox opened this issue Jan 4, 2025 · 1 comment
Assignees
Labels
good first issue Good for newcomers parsing Relates to the Parsing compiler stage

Comments

@gamebox
Copy link
Collaborator

gamebox commented Jan 4, 2025

The new lambda syntax - per this Zulip thread - is the below:

|a, b| expr

|a, b|
    a_var = Something
    expr

This should be supported alongside the existing syntax for the time being. Unlike previous changes, I'd like to say that the formatter should just formats all lambdas to the new syntax instead of using a MigrationFlag.

@gamebox gamebox self-assigned this Jan 4, 2025
@gamebox gamebox added good first issue Good for newcomers parsing Relates to the Parsing compiler stage P-high High priority/frequency and removed P-high High priority/frequency labels Jan 4, 2025
@Anton-4
Copy link
Collaborator

Anton-4 commented Jan 6, 2025

We've got PRs with breaking changes going that affect many files, I would delay getting started on this @gamebox to avoid thousands of merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers parsing Relates to the Parsing compiler stage
Projects
None yet
Development

No branches or pull requests

2 participants