|
|
|
|
|
by pfdietz
884 days ago
|
|
Block/return-from is a lexical transfer of control that can be non-local (you can transfer out of a lambda or defun to an enclosing scope). For the dynamic equivalent there's catch/throw. Both transfers activate unwind-protect if they unwind the stack through it. |
|
You can return from a function from within a lambda (and I believe this works on any number of levels), for example: