Sum and product of an array: Difference between revisions

m
Reduce size of TOC
m (Reduce size of TOC)
m (Reduce size of TOC)
Line 528:
Array.fold_left ( *.) 1.0 a;;
 
==='''Lists==='''
(* ints *)
let x = [1; 2; 3; 4; 5];;
Anonymous user