summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-04-15 20:41:59 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-04-15 20:41:59 -0700
commit40256575a22af22d38f81d36cb4a9d455460f0bb (patch)
tree5812d323852330995799075e403c4b37c706bedc
parent6912b6a6a5faf876adf04437c6bdbed5470ebc12 (diff)
downloadtxr-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.119
1 files changed, 19 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 4e01b8f6..ba267bca 100644
--- a/txr.1
+++ b/txr.1
@@ -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