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.
Next: SRFI-30, Previous: SRFI-27, Up: SRFI Support [Contents][Index]
SRFI-28 provides a basic format
procedure that provides only
the ~a
, ~s
, ~%
, and ~~
format specifiers.
You can import this procedure by using:
(use-modules (srfi srfi-28))
Returns a formatted message, using message as the format string, which can contain the following format specifiers:
~a
Insert the textual representation of the next arg, as if printed
by display
.
~s
Insert the textual representation of the next arg, as if printed
by write
.
~%
Insert a newline.
~~
Insert a tilde.
This procedure is the same as calling simple-format
(see Writing)
with #f
as the destination.