- fmt <output-dest> <format> ...procedure
where <output-dest> has the same semantics as with format - specifically it can be an output-port, #t to indicate the current output port, or #f to accumulate output into a string.
Each <format> should be a format closure as discussed below. As a convenience, non-procedure arguments are also allowed and are formatted similar to display, so that
(fmt #f "Result: " res nl)
would return the string "Result: 42n", assuming res is bound to 42.
nl is the newline format combinator.