JortSort: Difference between revisions
m
→{{header|Scala}}
Keithpinson (talk | contribs) (Updated for compatibility with Scala 3) |
Keithpinson (talk | contribs) |
||
Line 1,383:
The Java deepEquals() method will work as a replacement.
<lang scala>import java.util.Objects.deepEquals
def jortSort[K:Ordering]( a:Array[K] ) = deepEquals(a.sorted, a)</lang>
=={{header|Sidef}}==
|