lines ( -- seq )
Factor handbook > Input and output > Streams > Stream utilities

Prev:stream-lines ( stream -- seq )
Next:each-line ( ... quot: ( ... line -- ... ) -- ... )


Vocabulary
io

Inputs and outputs
seqa sequence of strings


Word description
Reads lines of text until from the input-stream until it is exhausted, collecting them in a sequence of strings.

Definition