Category:Sort: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page for 'sort' module for Wren.)
(No difference)

Revision as of 19:45, 23 May 2020

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.