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