Handbook
Glossary
random-access-cursor
Vocabulary
cursors
Definition
IN:
cursors
MIXIN:
random-access-cursor
INSTANCE:
linear-cursor
random-access-cursor
INSTANCE:
sequence-cursor
random-access-cursor
Methods
USING:
cursors
math
;
M:
random-access-cursor
cursor-
neg
cursor+
;
inline
USING:
cursors
;
M:
random-access-cursor
cursor-distance-hint
cursor-distance
;
inline
USING:
combinators.short-circuit
cursors
;
M:
random-access-cursor
cursor<=
{
[
cursor=
]
[
cursor<
]
}
2||
;
inline
USING:
combinators.short-circuit
cursors
;
M:
random-access-cursor
cursor>=
{
[
cursor=
]
[
cursor>
]
}
2||
;
inline
USING:
cursors
;
M:
random-access-cursor
dec-cursor
-1
cursor+
;
inline
USING:
cursors
;
M:
random-access-cursor
inc-cursor
1
cursor+
;
inline
USING:
cursors
kernel
sequences
;
M:
random-access-cursor
new-sequence-cursor
[
swap
cursor-distance
]
dip
new-sequence
[
begin-cursor
]
keep
;
inline