- Add PORTSCOUT variable to limit within 1.X.X - Fix patch files to reflect 'make makepatch'
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
--- doc/tutorial/guile-tut.texi.orig 2010-12-13 17:24:39 UTC
|
|
+++ doc/tutorial/guile-tut.texi
|
|
@@ -446,7 +446,7 @@ get started, look at the books @cite{Sim
|
|
Schemer} from that list.}
|
|
|
|
|
|
-@subsection Hello World
|
|
+@section Hello World
|
|
@cindex hello world
|
|
|
|
Our first program is the typical Scheme "hello world" program. Put the
|
|
@@ -535,12 +535,12 @@ guile> @kbd{(memq 4 ls)}
|
|
guile> @kbd{(if (memq 4 ls)
|
|
(display "hey, it's true!\n")
|
|
(display "dude, it's false\n"))}
|
|
- @print{hey, it's true!}
|
|
+ @print{} hey, it's true!
|
|
@result{}
|
|
guile> @kbd{(if (memq 12 ls)
|
|
(display "hey, it's true!\n")
|
|
(display "dude, it's false\n"))}
|
|
- @print{dude, it's false}
|
|
+ @print{} dude, it's false
|
|
@result{}
|
|
guile> @kbd{(memq 4 (reverse ls))}
|
|
@result{} (4 3 2 1)
|
|
@@ -656,9 +656,9 @@ And then invoke it with
|
|
(represent-matrix m
|
|
(lambda (x) (begin (display x) (display " ")))
|
|
(lambda (l) (begin (display "\n"))))
|
|
-@print{7 2 1 3 2 8 5 3 6}
|
|
-@print{4 1 1 1 3 8 9 8 1}
|
|
-@print{5 5 4 8 1 8 2 2 4}
|
|
+@print{} 7 2 1 3 2 8 5 3 6
|
|
+@print{} 4 1 1 1 3 8 9 8 1
|
|
+@print{} 5 5 4 8 1 8 2 2 4
|
|
@end smalllisp
|
|
|
|
@cindex objects
|