summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-09 20:09:01 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-09 20:09:01 -0800
commit709c98308e7a4e3a152340ebb493509de08b7257 (patch)
tree6f9eb82a591ffb848e5bbd293c542d5d598a2d4e
parent71c7daa5bc92a7dd931de5cdd6d0e239a4e717d7 (diff)
downloadtxr-709c98308e7a4e3a152340ebb493509de08b7257.tar.gz
txr-709c98308e7a4e3a152340ebb493509de08b7257.tar.bz2
txr-709c98308e7a4e3a152340ebb493509de08b7257.zip
doc: with pattern operator clarification.
* txr.1: Clarify that expr is not evaluated if the main-pattern fails to match.
-rw-r--r--txr.18
1 files changed, 6 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index cacc53d0..d1dfb7dc 100644
--- a/txr.1
+++ b/txr.1
@@ -40363,9 +40363,13 @@ is present in the syntax,
it is matched its corresponding object. This match must
succeed, or else the
.code with
-operator fails to match.
+operator fails to match, in which case
+.meta expr
+is not evaluated.
-Next,
+Next, if
+.meta main-pattern
+successfully matched, or is absent,
.meta expr
is evaluated in the scope of earlier pattern variables, including any
which that emanate from