Every time I write something of the form
let scorePopulation f population =
Array.map (fun i -> f i) population
I end up asking myself if wouldn't I be better writing
let scorePopulation f =
Array.map (fun i -> f i)
instead. Is there any advantage of writing it in the first form as opposed to the second?
Also, how would you call a function definition in the first form and in the second form?