. , , : , . : System.Collections.Generic.List<T> F # 't list. BCL - , , ; F # , n- O (n). , .
, F #, #. F #:
let rec getMinList l =
| [] -> failwith "Can't take the minimum of an empty list"
| [x] -> x
| x::xs ->
let minRest = getMin xs
min x minRest
, ( , comparable F # ). , , , Seq.reduce, , , , .
let getMin s = Seq.reduce min s
, , Seq.min, .