Good day, there are some errors in the book.pemphlet; and there is the patch to correct it (look at src). <++> book.patch *** book.pamphlet 2005-06-05 09:23:36.000000000 +0600 --- book.pamphlet 2006-06-29 22:54:13.000000000 +0600 *************** *** 3316,3322 **** \end{verbatim} \begin{verbatim} x:=1 ! \begin{verbatim} $$ 1 $$ --- 3316,3322 ---- \end{verbatim} \begin{verbatim} x:=1 ! \end{verbatim} $$ 1 $$ *************** *** 3439,3449 **** for i in 1..10 repeat ~prime?(i) => iterate output(i) - \end{verbatim} - \begin{verbatim} - for i in 1..10 repeat - ~prime?(i) => iterate - output(i) 2 3 --- 3439,3444 ---- *************** *** 3455,3464 **** \begin{verbatim} for w in ["This", "is", "your", "life!"] repeat output(w) - \end{verbatim} - \begin{verbatim} - for w in ["This", "is", "your", "life!"] repeat - output(w) This is --- 3450,3455 ---- *************** *** 3477,3486 **** \begin{verbatim} for i in 1..10 | prime?(i) repeat output(i) - \end{verbatim} - \begin{verbatim} - for i in 1..10 | prime?(i) repeat - output(i) 2 3 --- 3468,3473 ---- *************** *** 3492,3501 **** \begin{verbatim} for i in [1,2,3,4,5,6,7,8,9,10] | prime?(i) repeat output(i) - \end{verbatim} - \begin{verbatim} - for i in [1,2,3,4,5,6,7,8,9,10] | prime?(i) repeat - output(i) 2 3 --- 3479,3484 ---- *************** *** 3508,3517 **** \begin{verbatim} for i in 1.. while i < 7 repeat if even?(i) then output(i) - \end{verbatim} - \begin{verbatim} - for i in 1.. while i < 7 repeat - if even?(i) then output(i) 2 4 --- 3491,3496 ---- *************** *** 3523,3532 **** \begin{verbatim} for i in 1.. | even?(i) while i < 7 repeat output(i) - \{verbatim} - \begin{verbatim} - for i in 1.. | even?(i) while i < 7 repeat - output(i) 2 4 --- 3502,3507 ---- *************** *** 3539,3548 **** \begin{verbatim} for a in 1..4 for b in 5..8 repeat output [a,b] - \end{verbatim} - \begin{verbatim} - for a in 1..4 for b in 5..8 repeat - output [a,b] [1,5] [2,6] --- 3514,3519 ---- *************** *** 3560,3570 **** for a in 1..4 repeat for b in 7..9 | prime?(a+b) repeat output [a,b,a+b] - \end{verbatim} - \begin{verbatim} - for a in 1..4 repeat - for b in 7..9 | prime?(a+b) repeat - output [a,b,a+b] [2,9,11] [3,8,11] --- 3531,3536 ---- *************** *** 3579,3588 **** \begin{verbatim} for a in 1..4 for b in 8..5 by -1 repeat output [a,b] - \end{verbatim} - \begin{verbatim} - for a in 1..4 for b in 8..5 by -1 repeat - output [a,b] [1,8] [2,7] --- 3545,3550 ---- <--> ------------------------------------------------------------ Fixed in Axiom where this file exists. --alfredo, Wed, 29 Oct 2008 00:07:44 -0700 ... --alfredo, Wed, 29 Oct 2008 00:07:56 -0700 Status: open => closed |