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

Well, it does need two kinds of lambda, in a sense. In Lisp, something like with-file would be a macro, which solves the same problem that "blocks" are solving here.

Also, Lisp has (return-from) which lets you do a non-local return by specifying which enclosing function to return from by name.


Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact