Lower standalone dotted infix operators as anonymous functions #34156
Labels
compiler:lowering
Syntax lowering (compiler front end, 2nd stage)
domain:broadcast
Applying a function over a collection
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: