Replace xwrite/xdisplay/xnewline with non-x names

This commit is contained in:
2019-08-25 22:57:31 +03:00
parent 924a45b7bd
commit 33488d73cf
15 changed files with 2793 additions and 2818 deletions
+2 -2
View File
@@ -295,14 +295,14 @@ todo:
(let ((x 0))
(while (< x 10)
(begin (print x) (set! x (+ 1 x)))))
(begin (write x) (set! x (+ 1 x)))))
=>
(let ((x 0))
(reset
(let ((l #f))
(let ((k (shift k (k k))))
(if (< x 10)
(begin (set! l (begin (print x)
(begin (set! l (begin (write x)
(set! x (+ 1 x))))
(k k))
l)))))
+1 -3
View File
@@ -19,7 +19,5 @@
s))
(for-each (lambda (n)
(begin
(princ (bin-draw (string.lpad (number->string n 2) 63 #\0)))
(newline)))
(displayln (bin-draw (string.lpad (number->string n 2) 63 #\0))))
(nestlist rule30-step (uint64 #x0000000080000000) 32))