Handbook
Glossary
cursor+ ( cursor n -- cursor' )
Vocabulary
cursors
Inputs
cursor
an
object
n
an
object
Outputs
cursor'
an
object
Definition
IN:
cursors
GENERIC#:
cursor+
1
( cursor n -- cursor' )
Methods
USING:
accessors
cursors
kernel
math
;
M:
linear-cursor
cursor+
[
[
value>>
]
[
delta>>
]
bi
]
dip
[
*
+
]
keep
<linear-cursor>
;
inline
USING:
accessors
cursors
kernel
math
;
M:
sequence-cursor
cursor+
[
[
seq>>
]
[
n>>
]
bi
]
dip
+
<sequence-cursor>
;
inline