write obj | R5RS |
write obj port | R5RS |
Writes a written representation of obj to the given port . Strings that
appear in the written representation are enclosed in doublequotes, and
within those strings backslash and doublequote characters are escaped
by backslashes. Character objects are written using the #\ notation.
Write returns an unspecified value. The port argument may be omitted, in
which case it defaults to the value returned by current-output-port .
|
write* obj | STKLOS Procedure |
write* obj port | STKLOS Procedure |
Writes a written representation of obj to the given port. The
main difference with the write procedure is that write*
handles data structures with cycles. Circular structure written by
this procedure use the "# n= " and "# n# "
notations (see circular structure).
|
write-with-shared-structure obj | STKLOS Procedure |
write-with-shared-structure obj port | STKLOS Procedure |
write-with-shared-structure obj port optarg | STKLOS Procedure |
write-with-shared-structure has been added to be compatible with
SRFI-38. It is is identical to write* , except that it accepts one
more parameter (optarg ). This parameter, which is not specified
in SRFI-38, is always ignored.
|
display obj | R5RS |
display obj port | R5RS |
Writes a representation of obj to the given port . Strings that
appear in the written representation are not enclosed in
doublequotes, and no characters are escaped within those
strings. Character objects appear in the representation as if
written by write-char instead of by write . Display returns an
unspecified value. The port argument may be omitted, in which
case it defaults to the value returned by current-output-port .
Rationale: |
newline | R5RS |
newline port | R5RS |
Writes an end of line to port . Exactly how this is done differs from
one operating system to another. Returns an unspecified value. The port
argument may be omitted, in which case it defaults to the value returned
by current-output-port .
|
write-char char | R5RS |
write-char char port | R5RS |
Writes the character char (not an external representation of the
character) to the given port and returns an unspecified value.
The port argument may be omitted, in which case it defaults to the
value returned by current-output-port .
|
format port str obj ... | STKLOS Procedure |
format str obj | STKLOS Procedure |
Writes the obj s to the given port , according to the format
string str . Str is written literally, except for the following
sequences:
(format #f "A test.") => "A test." (format #f "A ~a." "test") => "A test." (format #f "A ~s." "test") => "A \"test\"." The second form of |
flush | STKLOS Procedure |
flush port | STKLOS Procedure |
Flushes the buffer associated with the given output port . The
port argument may be omitted, in which case it defaults to the value
returned by current-output-port
|