Warning: This is the manual of the legacy Guile 2.0 series. You may want to read the manual of the current stable series instead.
Previous: R6RS Binary Output, Up: R6RS I/O Ports [Contents][Index]
Writes char to the port. The put-char
procedure returns
an unspecified value.
start and count must be non-negative exact integer objects.
string must have a length of at least start +
count. start defaults to 0. count defaults to
(string-length string)
- start$. The
put-string
procedure writes the count characters of
string starting at index start to the port. The
put-string
procedure returns an unspecified value.
datum should be a datum value. The put-datum
procedure
writes an external representation of datum to
textual-output-port. The specific external representation is
implementation-dependent. However, whenever possible, an implementation
should produce a representation for which get-datum
, when reading
the representation, will return an object equal (in the sense of
equal?
) to datum.
Note: Not all datums may allow producing an external representation for which
get-datum
will produce an object that is equal to the original. Specifically, NaNs contained in datum may make this impossible.
Note: The
put-datum
procedure merely writes the external representation, but no trailing delimiter. Ifput-datum
is used to write several subsequent external representations to an output port, care should be taken to delimit them properly so they can be read back in by subsequent calls toget-datum
.