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

Reformat single argument captures into function references #4279

Closed
GearsDatapacks opened this issue Feb 24, 2025 · 1 comment · Fixed by #4284
Closed

Reformat single argument captures into function references #4279

GearsDatapacks opened this issue Feb 24, 2025 · 1 comment · Fixed by #4284
Labels
help wanted Contributions encouraged priority:medium

Comments

@GearsDatapacks
Copy link
Member

I don't think there are any ambiguities here, but let me know if I'm wrong:

list.map(x, io.debug(_))
// Becomes:
list.map(x, io.debug)
@lpil
Copy link
Member

lpil commented Feb 26, 2025

Sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributions encouraged priority:medium
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants