30 |
(else (if (= x 1) 2 (* x x x)))))) |
(else (if (= x 1) 2 (* x x x)))))) |
31 |
@end lisp |
@end lisp |
32 |
|
|
33 |
@deffn procedure pretty-print obj [port] |
@deffn {Scheme Procedure} pretty-print obj [port] |
34 |
Print the textual representation of the Scheme object @var{obj} to |
Print the textual representation of the Scheme object @var{obj} to |
35 |
@var{port}. @var{port} defaults to the current output port, if not |
@var{port}. @var{port} defaults to the current output port, if not |
36 |
given. |
given. |
77 |
format)}, can do all this, and even more. If you are a C programmer, |
format)}, can do all this, and even more. If you are a C programmer, |
78 |
you can think of this procedure as Guile's @code{fprintf}. |
you can think of this procedure as Guile's @code{fprintf}. |
79 |
|
|
80 |
@deffn procedure format destination format-string args @dots{} |
@deffn {Scheme Procedure} format destination format-string args @dots{} |
81 |
The first parameter is the @var{destination}, it determines where the |
The first parameter is the @var{destination}, it determines where the |
82 |
output of @code{format} will go. |
output of @code{format} will go. |
83 |
|
|