Handbook
Glossary
factorcode.org
midpoint@ ( seq -- n )
Vocabulary
sequences
Inputs
seq
a
sequence
Outputs
n
an
integer
Word description
Outputs the index of the midpoint of
seq
.
Definition
USING:
math
;
IN:
sequences
:
midpoint@
( seq -- n )
length
2/
;
inline