ClojureBridge/curriculum

Add a description of how `sort-by` works

Closed this issue · 2 comments

curriculum/outline/functions.md has fairly long descriptions of how map and reduce work, then closes the section on "Functions that take other functions" with a reference to sort-by. However, it doesn't explain how sort-by works, other than with a very short code example demonstrating usage.

It would probably be useful for students to see another example of the sort-by algorithm working step-by-step, even if only to preserve parallelism in the text.

The references to sort-by were removed in 02e79ee. Shall we close this issue?

Great point. Yes.

And thanks for getting movement on issues, @davidchambers . Definitely let us know if you have any questions.