Handbook
Glossary
wrap-key ( key wrapped-hash -- wrapped-key )
Vocabulary
hashtables
.
wrapped
Inputs
key
an
object
wrapped-hash
an
object
Outputs
wrapped-key
an
object
Word description
An object that wraps a key and provides a different hashcode implementation.
Definition
IN:
hashtables.wrapped
GENERIC:
wrap-key
( key wrapped-hash -- wrapped-key )
Methods
USING:
hashtables.identity
hashtables.identity.private
hashtables.wrapped
kernel
;
M:
identity-hashtable
wrap-key
drop
<identity-wrapper>
;
USING:
hashtables.numbers
hashtables.numbers.private
hashtables.wrapped
kernel
;
M:
number-hashtable
wrap-key
drop
<number-wrapper>
;
USING:
hashtables.sequences
hashtables.sequences.private
hashtables.wrapped
kernel
;
M:
sequence-hashtable
wrap-key
drop
<sequence-wrapper>
;