Handbook
Glossary
plain-writer
Factor handbook
»
Input and output
»
Plain writer streams
Vocabulary
io
.
streams
.
plain
Class description
An output stream mixin providing an implementation of the extended stream output protocol in a trivial way.
See also
Stream protocol
Definition
USING:
curses.listener
growable
io.encodings
io.streams.null
;
IN:
io.streams.plain
MIXIN:
plain-writer
INSTANCE:
encoder
plain-writer
INSTANCE:
growable
plain-writer
INSTANCE:
null-writer
plain-writer
INSTANCE:
curses-listener-stream
plain-writer
Methods
USING:
io.streams.plain
io.styles
kernel
;
M:
plain-writer
make-block-stream
nip
<ignore-close-stream>
;
USING:
io.streams.plain
io.streams.string
io.styles
kernel
;
M:
plain-writer
make-cell-stream
2drop
<string-writer>
;
USING:
io.streams.plain
io.styles
kernel
;
M:
plain-writer
make-span-stream
swap
<style-stream>
<ignore-close-stream>
;
USING:
io
io.streams.plain
io.styles
kernel
;
M:
plain-writer
stream-format
nip
stream-write
;
USING:
io
io.streams.plain
kernel
;
M:
plain-writer
stream-nl
10
swap
stream-write1
;
USING:
io
io.streams.plain
io.styles
kernel
sequences
strings
strings.tables
;
M:
plain-writer
stream-write-table
[
drop
[
[
>string
]
map
]
map
format-table
[
nl
]
[
write
]
interleave
]
with-output-stream*
;