Handbook
Glossary
cursor-distance-hint ( cursor cursor -- n )
Vocabulary
cursors
Inputs
cursor
an
object
cursor
an
object
Outputs
n
an
object
Definition
IN:
cursors
GENERIC:
cursor-distance-hint
( cursor cursor -- n )
Methods
USING:
cursors
kernel
;
M:
cursor
cursor-distance-hint
2drop
0
;
inline
USING:
accessors
cursors
kernel
sets
;
M:
hash-set-cursor
cursor-distance-hint
nip
hash-set>>
cardinality
;
inline
USING:
accessors
assocs
cursors
kernel
;
M:
hashtable-cursor
cursor-distance-hint
nip
hashtable>>
assoc-size
;
inline
USING:
cursors
;
M:
random-access-cursor
cursor-distance-hint
cursor-distance
;
inline
USING:
accessors
cursors
kernel
math.order
;
M:
zip-cursor
cursor-distance-hint
[
[
keys>>
]
bi@
cursor-distance-hint
]
[
[
values>>
]
bi@
cursor-distance-hint
]
2bi
min
;
inline