Category talk:Wren-sort: Difference between revisions

→‎Source code: Removed type aliases which are not longer needed.
(→‎Source code: Added Find.quick method plus a few other minor changes.)
(→‎Source code: Removed type aliases which are not longer needed.)
Line 2:
 
<lang ecmascript>/* Module "sort.wren" */
import "./trait" for Comparable
 
/*
Line 482:
return (c%2 == 1) ? [[a[hc]], 1, hc..hc] : [[a[hc-1], a[hc]], 2, hc-1..hc]
}
}</lang>
}
 
// Type aliases for classes in case of any name clashes with other modules.
var Cmp_Cmp = Cmp
var Cmp_Sort = Sort
var Cmp_Find = Find
var Cmp_Comparable = Comparable // in case imported indirectly</lang>
9,476

edits