From 5b10b858a5258d044b9da30980e5dd992fd43df2 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 12 Jan 2017 02:12:41 -0800 Subject: doc: bad cblk and synb. * txr.1: Fix numerous instances of bad .cble/.cblk usage and replace one .synb/.syne with .cblk/.cble. --- txr.1 | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/txr.1 b/txr.1 index 7b0ab7dc..323ecd78 100644 --- a/txr.1 +++ b/txr.1 @@ -22096,7 +22096,6 @@ calls .cblk .meti >> [ struct.slot < struct < c1v < c2v < c3v ... arg ... ] .cble -.cble except that .meta struct is evaluated only once, and @@ -24135,16 +24134,16 @@ must be a place. The following equivalence gives the semantics of assignment to a .codn last : -.cble - (set (last x n) v) <--> (set (sub x (- (max n 0)) t) v) .cblk + (set (last x n) v) <--> (set (sub x (- (max n 0)) t) v) +.cble A .code last place is deletable. The semantics of deletion may be understood in terms of the following equivalence: -.cble +.cblk (del (last x n)) <--> (del (sub x (- (max n 0)) t)) .cble @@ -24191,16 +24190,16 @@ must itself be a place. The following equivalence gives the semantics of assignment to a .codn last : -.cble - (set (butlast x n) v) <--> (set (sub x 0 (- (max n 0))) v) .cblk + (set (butlast x n) v) <--> (set (sub x 0 (- (max n 0))) v) +.cble A .code butlast place is deletable. The semantics of deletion may be understood in terms of the following equivalence: -.cble +.cblk (del (last x n)) <--> (del (sub x 0 (- (max n 0)))) .cble @@ -25725,11 +25724,11 @@ function takes variable arguments, and is equivalent to calling .code transpose on a list of the arguments. The following equivalences hold: -.synb +.cblk (zip . x) <--> (transpose x) [apply zip x] <--> (transpose x) -.syne +.cble .TP* Examples: .cblk -- cgit v1.2.3