-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enable function composition for . fusion operator #21875
Comments
Would |
Yes. I'm realizing now that this issue here is essentially subsuming #20502. |
Some languages use |
And I would very much like that as well :) My understanding of the parser is not good enough to be able to tell whether this could be compatible, I'm afraid... |
This would be similar to the way
!
and∘
work right now.For example,
map(f., x)
would be equivalent tomap(i -> f.(i), x)
.This would make
map
work pretty seamlessly with the whole call-site lifting operator as it is implemented right now, i.e. ifx
is aArray{Nullable{T},N}
this would be a natural way to map the lifted version of a function over that array.The text was updated successfully, but these errors were encountered: