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

You can use function declaration in the same line it is used.

`let { f x = x ^ 2 } in f 2`



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

Search: