Handbook
Glossary
inv-sort-keys ( obj -- sortedseq )
Vocabulary
sorting
Inputs
obj
an
object
Outputs
sortedseq
an
object
Definition
IN:
sorting
GENERIC:
inv-sort-keys
( obj -- sortedseq )
Methods
USING:
arrays
assocs
hashtables
kernel.private
sequences.private
sorting
;
M:
hashtable
inv-sort-keys
>alist
[
{
array
}
declare
first-unsafe
]
inv-sort-by
;
USING:
assocs
kernel
sorting
;
M:
object
inv-sort-keys
>alist
inv-sort-keys
;
USING:
sequences
sequences.private
sorting
sorting.private
;
M:
sequence
inv-sort-keys
0
check-bounds
[
first-unsafe
]
inv-sort-by
;