summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-30 09:32:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-30 09:32:28 -0700
commit91f94cfd8e003f7ed4bcbca55943a9f588ecc576 (patch)
tree85b28ad9044df4005b685cd1c2fec2aff78c211f
parentc40a00fa76111f733dbed26a03b991f1ea50441d (diff)
downloadtxr-91f94cfd8e003f7ed4bcbca55943a9f588ecc576.tar.gz
txr-91f94cfd8e003f7ed4bcbca55943a9f588ecc576.tar.bz2
txr-91f94cfd8e003f7ed4bcbca55943a9f588ecc576.zip
doc: incorrect text in rlet example
* txr.1: Example isn't about swapping variables.
-rw-r--r--txr.15
1 files changed, 2 insertions, 3 deletions
diff --git a/txr.1 b/txr.1
index 2ce5f4d2..fdf6bc9d 100644
--- a/txr.1
+++ b/txr.1
@@ -33735,10 +33735,9 @@ are assignable, and provide temporary storage.
.TP* "Example:"
.cblk
- ;; WRONG! Exchange two variables, a and b:
+ ;; WRONG! Real storage location needed.
(rlet ((flag nil))
- ;; code which mutates flag
- (flip flag)) ;; error: flag macro-expands to nil
+ (flip flag)) ;; error: flag expands to nil
;; Demonstration of constant-propagation
(let ((a 42))