sorting vocabulary - Factor Documentation (original) (raw)
sorting vocabulary
Factor handbook » Vocabulary index
Documentation
Sorting sequences
Metadata
Tags: | collections, algorithms |
---|---|
Authors: | Slava Pestov |
Words
Generic words
Word | Stack effect |
---|---|
![]() |
( obj -- sortedseq ) |
![]() |
( obj -- sortedseq ) |
![]() |
( obj -- sortedseq ) |
![]() |
( obj -- sortedseq ) |
Ordinary words
Word | Stack effect |
---|---|
![]() |
( seq -- sortedseq ) |
![]() |
( ... seq quot: ( ... elt -- ... key ) -- ... sortedseq ) |
![]() |
( ... seq quot: ( ... obj1 obj2 -- ... <=> ) -- ... sortedseq ) |
![]() |
( seq -- sortedseq ) |
![]() |
( seq -- sortedseq ) |
![]() |
( ... seq quot: ( ... elt -- ... key ) -- ... sortedseq ) |
![]() |
( a b -- c d ) |
![]() |
( ... seq quot: ( ... obj1 obj2 -- ... <=> ) -- ... sortedseq ) |
Files
resource:core/sorting/sorting.factor
resource:core/sorting/sorting-docs.factor
resource:core/sorting/sorting-tests.factor
Metadata files
resource:core/sorting/authors.txt
resource:core/sorting/summary.txt
resource:core/sorting/tags.txt
Children from resource:basis
Vocabulary | Summary |
---|---|
![]() |
|
![]() |
Correct sorting of sequences of strings with embedded numbers |
![]() |
Insertion sort |
![]() |
Sorting by multiple keys |
![]() |
Children from resource:extra
Vocabulary | Summary |
---|---|
![]() |
Bubblesort |
![]() |
|
![]() |
Heapsort |
![]() |
Quicksort |