Handbook
Glossary
begin-cursor ( collection -- cursor )
Vocabulary
cursors
Inputs
collection
an
object
Outputs
cursor
an
object
Definition
IN:
cursors
GENERIC:
begin-cursor
( collection -- cursor )
Methods
USING:
cursors
;
M:
finite-stream-cursor
begin-cursor
;
inline
USING:
accessors
cursors
cursors.private
hash-sets
kernel
;
M:
hash-set
begin-cursor
dup
array>>
0
(inc-hash-set-cursor)
<hash-set-cursor>
;
inline
USING:
accessors
cursors
cursors.private
hashtables
kernel
;
M:
hashtable
begin-cursor
dup
array>>
0
(inc-hashtable-cursor)
<hashtable-cursor>
;
inline
USING:
cursors
sequences
;
M:
sequence
begin-cursor
0
<sequence-cursor>
;
inline