Anonymous user
Sorting algorithms/Selection sort: Difference between revisions
Sorting algorithms/Selection sort (view source)
Revision as of 03:25, 29 November 2017
, 6 years ago→{{header|F Sharp|F#}}
(+Stata) |
|||
Line 953:
| x::xs ->
let min, rest =
List.
if h<min then (h, min::acc)
else (min, h::acc))
|