diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2024-07-20 08:44:04 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2024-07-20 08:44:04 -0700 |
commit | 95b20fe588d75f5a2ef19b6104f7673498646012 (patch) | |
tree | f69690655630ef9d8191d3067cec0dbd4f0dcb74 | |
parent | 1676d6a255354329bde19f9ab141ce672112a358 (diff) | |
download | txr-95b20fe588d75f5a2ef19b6104f7673498646012.tar.gz txr-95b20fe588d75f5a2ef19b6104f7673498646012.tar.bz2 txr-95b20fe588d75f5a2ef19b6104f7673498646012.zip |
doc: fix miscoded backslashes in examples.
* txr.1: In examples for append, whereq and tuples*,
fix backslashes not encoded as the \e sequence,
causing improper rendering.
-rw-r--r-- | txr.1 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -22296,7 +22296,7 @@ type for that kind of sequence. The resulting sequence is of the same kind, and includes that atom: .verb (append #(1 2) 3) -> #(1 2 3) - (append "ab" #\c) -> "abc" + (append "ab" #\ec) -> "abc" (append "ab" 3) -> ;; error .brev .IP 7. @@ -36936,10 +36936,10 @@ equality. .verb ;; indices where the string has a 'c', using where: - (where (op eq #\c) "abcabc") -> (2 5) + (where (op eq #\ec) "abcabc") -> (2 5) ;; same, using whereq: - [(whereq #\c) "abcabc"] -> (2 5) + [(whereq #\ec) "abcabc"] -> (2 5) .brev .coNP Function @ rmismatch @@ -39644,8 +39644,8 @@ is otherwise ignored. (tuples* 2 "abc") -> ("ab" "bc") (tuples* 3 "abc") -> ("abc") (tuples* 4 "abc") -> nil - (tuples* 4 "abc" #\z) -> ("abcz") - (tuples* 6 "abc" #\z) -> ("abczzz") + (tuples* 4 "abc" #\ez) -> ("abcz") + (tuples* 6 "abc" #\ez) -> ("abczzz") (tuples* 6 "abc" 4) -> error (tuples* 2 '(a b c)) -> ((a b) (b c)) (take 3 (tuples* 3 0)) -> ((0 1 2) (1 2 3) (2 3 4)) |