RosettaCodeData/Task/Sort-an-integer-array/OCaml/sort-an-integer-array-2.ocaml
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

2 lines
63 B
Text

let nums = [2; 4; 3; 1; 2]
let sorted = List.sort compare nums