summaryrefslogtreecommitdiff
path: root/doc/ref/scheme-debugging.texi
diff options
context:
space:
mode:
authorNeil Jerram <neil@ossau.uklinux.net>2009-08-09 14:54:18 +0100
committerNeil Jerram <neil@ossau.uklinux.net>2009-08-09 15:04:08 +0100
commitaba0dff5f7ee451b44af771f8ab09b750ce15f74 (patch)
tree9ef35ce71bfb98954e861ed5fcc912673a71c4c0 /doc/ref/scheme-debugging.texi
parentf618f4363dc0a2ba96178fddf364b357e49600b2 (diff)
downloadguile-aba0dff5f7ee451b44af771f8ab09b750ce15f74.tar.gz
In general, use @lisp in preference to @smalllisp
because it looks better in the DVI output. Exceptions are - wide examples, which would cause overfull hboxes if they used the bigger @lisp font - very large examples, which may look too big at the @lisp size.
Diffstat (limited to 'doc/ref/scheme-debugging.texi')
-rw-r--r--doc/ref/scheme-debugging.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/ref/scheme-debugging.texi b/doc/ref/scheme-debugging.texi
index 07511263b..bcd9f2df3 100644
--- a/doc/ref/scheme-debugging.texi
+++ b/doc/ref/scheme-debugging.texi
@@ -14,9 +14,9 @@ call to that procedure is reported to the user during a program run.
The idea is that you can mark a collection of procedures for tracing,
and Guile will subsequently print out a line of the form
-@smalllisp
+@lisp
| | [@var{procedure} @var{args} @dots{}]
-@end smalllisp
+@end lisp
whenever a marked procedure is about to be applied to its arguments.
This can help a programmer determine whether a function is being called
@@ -27,7 +27,7 @@ how the traced applications are or are not tail recursive with respect
to each other. Thus, a trace of a non-tail recursive factorial
implementation looks like this:
-@smalllisp
+@lisp
[fact1 4]
| [fact1 3]
| | [fact1 2]
@@ -38,11 +38,11 @@ implementation looks like this:
| | 2
| 6
24
-@end smalllisp
+@end lisp
While a typical tail recursive implementation would look more like this:
-@smalllisp
+@lisp
[fact2 4]
[facti 1 4]
[facti 4 3]
@@ -50,7 +50,7 @@ While a typical tail recursive implementation would look more like this:
[facti 24 1]
[facti 24 0]
24
-@end smalllisp
+@end lisp
@deffn {Scheme Procedure} trace procedure
Enable tracing for @code{procedure}. While a program is being run,