-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Lower standalone dotted infix operators as anonymous functions #34156
Comments
Would it be weird to be able to do e.g. |
It would be nice, at least, to have a non-weird 😄 syntax for that, e.g. |
Maybe |
Unfortunately |
Switches `⊙` to `.*`, so closes #34156
I could've sworn we already had an issue tracking this, but I couldn't find it. In short, I'd love to have support for standalone
(.+)
and friends to lower to(args...)->(+).(args...)
. This would enable their use in higher order functions and generally make them more useful.They currently parse as identifiers — and can be assigned to! — so this would be a breaking minor change.
The text was updated successfully, but these errors were encountered: