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

  >  Does it bail out of just the lambda
Yes.

  >  What about nested functions?
It returns from the nested function, not the outer function.

  > a named nested function which can access its outer scope?
No, functions don't close over any scopes.


That's good. Now there's a clean way to handle errors in a block-structured fashion.




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

Search: