Actions
Feature #16939
closedAlias _1 as _ for block numbered params
Feature #16939:
Alias _1 as _ for block numbered params
Status:
Closed
Assignee:
-
Target version:
-
Description
I propose to alias _1 as _ for block numbered params, so the following statements should be equal –
[1,2,3].map { _1 ** 2 }
[1,2,3].map { _ ** 2 }
There is an anonymous function argument literal in Clojure and it feels natural all the way, hope we can have the one too.
Actions