summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-07-03 21:35:25 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-07-03 21:35:25 -0700
commiteb081ac7627ce7b4e093d4d84ebfa99790008d59 (patch)
tree3aba4908ddc9f81cf06649ce75dc1b94d0fd1967
parent3a91828748385d8d6f7f44712eeaa84b826d073b (diff)
downloadtxr-eb081ac7627ce7b4e093d4d84ebfa99790008d59.tar.gz
txr-eb081ac7627ce7b4e093d4d84ebfa99790008d59.tar.bz2
txr-eb081ac7627ce7b4e093d4d84ebfa99790008d59.zip
doc: mistakes in dot position funcalls examples.
* txr.1: Two examples have a comment claiming an incorrect return value. Reported by user vapnik spaknik.
-rw-r--r--txr.14
1 files changed, 2 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index 2f08fee7..3989c5ca 100644
--- a/txr.1
+++ b/txr.1
@@ -11827,7 +11827,7 @@ Examples:
[c 1] ;; indexes into vector #(5 6 7) to yield 6
- (call (op list 1 . @1) 2) ;; yields 2
+ (call (op list 1 . @1) 2) ;; yields (1 . 2)
.brev
Note that the atom in the dot position of a function call may
@@ -11843,7 +11843,7 @@ Thus:
(list 1 . x)) ;; yields (1 . 2)
(symacrolet ((x (list 1 2)))
- (list 1 . x)) ;; (yields (1 . 3))
+ (list 1 . x)) ;; yields (1 1 2)
.brev
That is to say, the expansion of