Category:Sort

From Rosetta Code
Revision as of 19:45, 23 May 2020 by PureFox (talk | contribs) (Created page for 'sort' module for Wren.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

sort is a module which adds sorting and binary search capabilities to the Wren programming language. It consists of static methods organized into 3 classes: Cmp, Sort and Find. There is also an abstract class, Comparable, which enables child classes to easily support the basic comparison operators.

It is the third in a series of modules (listed on the language's [main page]) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.

To use it all you need to do is to copy the source code (in the [talk page]) to a text file called sort.wren and place this in the same directory as the importing script so the command line interpreter can find it.

This category currently contains no pages or media.