Hacker News new | past | comments | ask | show | jobs | submit login

Some languages have a sort-of default variable name for cases like this, namely "it":

> put 1 2 3 4 5 | filter > $it 2 | map * 2 $it




As zokier was presumably pointing out, other languages have a different sort-of-default variable name, namely `$_` (http://c2.com/cgi/wiki?DollarUnderscore). :-)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: