Vocabulary
io.styles

Inputs
stylean assoc
streaman output stream


Outputs
stream'an output stream


Generic word contract
Creates an output stream which wraps stream and adds style on calls to stream-write and stream-format.

Unlike make-span-stream, this creates a new paragraph block in the output.

The style hashtable holds paragraph style information. See Paragraph styles.

Notes
Most code only works on one stream at a time and should instead use with-nesting; see Default input and output streams.

Errors
Throws an error if the I/O operation fails.

Definition

GENERIC: make-block-stream ( style stream -- stream' )


Methods