let result = Array.map (fun x -> x * x) [|1; 2; 3; 4; 5|]