Handbook
Glossary
penultimate ( seq -- elt )
Vocabulary
project-euler
.
common
Inputs
seq
an
object
Outputs
elt
an
object
Definition
USING:
kernel
math
sequences
;
IN:
project-euler.common
:
penultimate
( seq -- elt )
dup
length
2
-
swap
nth
;