Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

LiveScript allows partially applied operators, including property access. You can do:

    totals = map (.total), orders
http://livescript.net/


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

Search: