-
-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
We've yet to explicitly cover sorting and related functions, which has a decent amount of material. Some possible inclusions:
sort()/sort!()sort(x, by=function)sortperm()partialsort()
Since there's usually a mutating variant, we could also combine the concept of mutating functions (or also just do a separate concept on that).
I guess the question is where it would come in the syllabus:
- After
Vectorsas a leaf - After
Ranges(sincepartialsort()can take a range as an argument), either as a leaf or a prereq forVector Operations - Somewhere else?
I'm leaning towards combining the two ideas into a single concept, just we would have to include special emphasis on explaining mutating vs non-mutating functions, the default being non-mutating, and that they can be found for inputs other than just Vectors.
BethanyG
Metadata
Metadata
Assignees
Labels
No labels