sorting.slots vocabulary
Factor handbook > Vocabulary index


Documentation
Sorting by slots

Meta-data
Authors:Doug Coleman, Slava Pestov


Words

Ordinary words
WordStack effect
compare-slots( obj1 obj2 sort-specs -- <=> )
execute-accessor( obj1 obj2 word -- obj1' obj2' )
execute-comparator( obj1 obj2 word -- <=>/f )
sort-by( seq sort-specs -- seq' )
sort-by-with( seq sort-specs quot: ( obj -- key ) -- seq' )
sort-keys-by( seq sort-seq -- seq' )
sort-values-by( seq sort-seq -- seq' )


Files