summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-12-27 12:52:24 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-12-27 12:52:24 -0800
commit7d1237a784b4f5fef4b5598d15830f8602f034d9 (patch)
tree42d6178dff33f8b24b6ea2bdc2630eff10afab47
parentf9bcbd884bb1cd60144f13df3de00516b731827c (diff)
downloadtxr-7d1237a784b4f5fef4b5598d15830f8602f034d9.tar.gz
txr-7d1237a784b4f5fef4b5598d15830f8602f034d9.tar.bz2
txr-7d1237a784b4f5fef4b5598d15830f8602f034d9.zip
doc: problems in qualisiteral pattern section.
* txr.1: Fix wrong word and number agreement: the sentence is about boudn variables. Fix bungled description of bound variable substitution; this should be a .meIP to head its own section, not in line meta-typesetting; plus the syntax must refer to a {P} and show the backticks.
-rw-r--r--txr.16
1 files changed, 2 insertions, 4 deletions
diff --git a/txr.1 b/txr.1
index 8c40ac13..dd87f46d 100644
--- a/txr.1
+++ b/txr.1
@@ -43190,7 +43190,7 @@ and
.metn uv1 .
The symbol
.meta bv
-represents an unbound variables: a variable which has an existing binding,
+represents a bound variable: a variable which has an existing binding,
which can occur in the form of the ordinary notation, or the braced notation
with or without modifiers.
The notation
@@ -43259,9 +43259,7 @@ then the match is successful and
captures that prefix. The rest of the pattern
.code {P}
is then matched against the rest of the string after the prefix.
-.mono
-.meti >> @ bv {R}
-.onom
+.meIP <> `@ bv {P}`
The bound variable
.meta bv
is converted to text the manner of an ordinary quasiliteral substitution.