Every time I write something from a form
let scorePopulation f population =
Array.map (fun i -> f i) population
Ultimately, I ask myself if it’s better to write
let scorePopulation f =
Array.map (fun i -> f i)
instead of this. Is there an advantage in writing it in the first form, and not in the second?
Also, what would you call a function definition in the first form and in the second form?
source
share