Order two numerical lists: Difference between revisions

added sml
(→‎{{header|Pike}}: can also convert to unicode strings.)
(added sml)
Line 173:
<lang ruby>>> ([1,2,1,3,2] <=> [1,2,0,4,4,0,0,0]) < 0
=> false</lang>
 
=={{header|Standard ML}}==
<lang sml>- List.collate Int.compare ([1,2,1,3,2], [1,2,0,4,4,0,0,0]) = LESS;
val it = false : bool</lang>
 
=={{header|Tcl}}==
Anonymous user