Handbook
Glossary
factorcode.org
all-rotations ( seq -- seq' )
Vocabulary
sequences.extras
Inputs
seq
an
object
Outputs
seq'
an
object
Definition
USING:
kernel
sequences
;
IN:
sequences.extras
:
all-rotations
( seq -- seq' )
dup
length
<iota>
[
rotate
]
with
map
;