Handbook
Glossary
line-ends\n ( stream str -- str )
Vocabulary
io
.
encodings
.
private
Inputs
stream
an
object
str
an
object
Outputs
str
an
object
Definition
USING:
accessors
io
kernel
sequences
;
IN:
io.encodings.private
:
line-ends\n
( stream str -- str )
over
cr>>
[
over
cr-
[
stream-readln
]
[
nip
]
if-empty
]
[
nip
]
if
;
inline