Handbook
Glossary
<circular-string> ( n -- circular )
Circular sequences
Prev:
<circular> ( seq -- circular )
Next:
<growing-circular> ( capacity -- growing-circular )
Vocabulary
circular
Inputs
n
an
integer
Outputs
circular
a
circular
Word description
Creates a new circular string object. A circular string is a string object that can be accessed out of bounds and the index will wrap around to the start of the string.
Definition
USING:
strings
;
IN:
circular
:
<circular-string>
( n -- circular )
0
<string>
<circular>
;
inline