summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-01 07:18:06 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-01 07:18:06 -0800
commit6255d3c7dca09e98d9e31ecc384ba25f92816916 (patch)
tree68a28812d02c9593cbb77174c22bf3369ea9e6bb
parentcffc66f0f30bec63e8ce0867a176de12597683dc (diff)
downloadtxr-6255d3c7dca09e98d9e31ecc384ba25f92816916.tar.gz
txr-6255d3c7dca09e98d9e31ecc384ba25f92816916.tar.bz2
txr-6255d3c7dca09e98d9e31ecc384ba25f92816916.zip
doc: mistake in when-match rcons example.
* txr.1: The de-sugared (rcons @a @b) example is missing a quote on the object, and so returns nil and not (1 2).
-rw-r--r--txr.12
1 files changed, 1 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 4a1219ba..05112c5e 100644
--- a/txr.1
+++ b/txr.1
@@ -39981,7 +39981,7 @@ that being a syntactic sugar for
(when-match @a..@b '1..2 (list a b)) -> (1 2)
;; above, de-sugared:
- (when-match (rcons @a @b) (rcons 1 2) (list a b)) -> (1 2)
+ (when-match (rcons @a @b) '(rcons 1 2) (list a b)) -> (1 2)
.brev