Handbook
Glossary
random-line ( -- line/f )
Vocabulary
io
.
random
Inputs
None
Outputs
line/f
an
object
Definition
USING:
io.random.private
kernel
math
random
;
IN:
io.random
:
random-line
( -- line/f )
f
[
random
zero?
[
nip
]
[
drop
]
if
]
each-numbered-line
;