Handbook
Glossary
<connected-pair> ( encoding -- stream stream )
Vocabulary
io
.
pipes
Inputs
encoding
an encoding specifier
Outputs
stream
a bidirectional stream
Word description
Opens two pipes wrapped into a stream. These are connected so that their
input-stream
redirects to the other pipe.
Definition
USING:
accessors
;
IN:
io.pipes
::
<connected-pair>
( encoding -- stream stream )
encoding
<pipe>
:>
x encoding
<pipe>
:>
y x
in>>
:>
xin y
in>>
:>
yin yin x
in<<
xin y
in<<
x y
;