Handbook
Glossary
line-end ( line# document -- loc )
Vocabulary
documents
Inputs
line#
a non-negative integer
document
a
document
Outputs
loc
a pair of integers
Word description
Outputs the location where
line#
ends.
Errors
Throws an error if
line#
is out of bounds.
Definition
USING:
arrays
kernel
sequences
;
IN:
documents
:
line-end
( line# document -- loc )
[
drop
]
[
doc-line
length
]
2bi
2array
;