sum, mean, maximum etc. accept a function as first argument
mean(f::Function, v) Apply the function f to each element of v and take the mean. julia> mean(√, [1, 2, 3]) 1.3820881233139908
std, var, median, extrema does not. Is there any particular reason for this behaviour?