summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.116
1 files changed, 15 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index c0ce427b..4abfebb1 100644
--- a/txr.1
+++ b/txr.1
@@ -33055,10 +33055,12 @@ using the
.code format
string and additional arguments.
-.coNP Macro @ catch
+.coNP Macros @ catch and @ catch*
.synb
.mets (catch < try-expression
.mets \ \ >> {( symbol <> ( arg *) << body-form *)}*)
+.mets (catch* < try-expression
+.mets \ \ >> {( symbol >> ( type-arg << arg *) << body-form *)}*)
.syne
.desc
The
@@ -33113,6 +33115,18 @@ If there is only one element,
takes on the value
.codn nil .
+The
+.code catch*
+macro is a variant of
+.code catch
+with the following difference: when
+.code catch*
+invokes a clause, it passes the exception symbol as the leftmost argument
+.metn type-arg .
+Then the exception arguments follow. In contrast,
+only the exception arguments are passed to the clauses of
+.codn catch .
+
Also see: the
.code unwind-protect
operator, and the functions