diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-04-15 20:41:59 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-04-15 20:41:59 -0700 |
commit | 40256575a22af22d38f81d36cb4a9d455460f0bb (patch) | |
tree | 5812d323852330995799075e403c4b37c706bedc | |
parent | 6912b6a6a5faf876adf04437c6bdbed5470ebc12 (diff) | |
download | txr-40256575a22af22d38f81d36cb4a9d455460f0bb.tar.gz txr-40256575a22af22d38f81d36cb4a9d455460f0bb.tar.bz2 txr-40256575a22af22d38f81d36cb4a9d455460f0bb.zip |
Notes on glob and exceptions.
* txr.1: Document that glob's error-func callback can be
terminated by a non-local exit, but may not capture
continuations across glob.
-rw-r--r-- | txr.1 | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -37805,6 +37805,25 @@ boolean. If the function returns true, then .code glob will terminate. +The +.meta error-func +may terminate the traversal by a nonlocal exit, such as by throwing +an exception or performing a block return. + +The +.meta error-func +may not re-enter the +.code glob +function. This situation is detected and diagnosed by an exception. + +The +.meta error-func +may not capture a continuation across the error boundary. That is to say, +code invoked from the error may not capture a continuation up to a prompt +which surrounds the +.code glob +call. Such an attempt is detected and diagnosed by an exception. + Details of the semantics of the .code glob function, and the meaning of all the |