You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when writing an anonymous function with a lambda, I've noticed that even with only one argument, we are forced to enclose the argument in brackets.
Currently when writing an anonymous function with a lambda, I've noticed that even with only one argument, we are forced to enclose the argument in brackets.
E.g.
It would be simple and nice QOL if we could do it like:
Java supports this and makes it a bit less of a brackety mess.
I'm not sure if there's some other technical feature blocking this feature being added.
Thanks!
The text was updated successfully, but these errors were encountered: