Averages/Arithmetic mean: Difference between revisions

Content added Content deleted
(→‎{{header|Standard ML}}: Replaced 'if you which' with 'if you want' , want being an alternative to the word 'wish', which I guess is what the author intended to write.)
Line 1,758: Line 1,758:
val mean_ints = mean_reals o (map real);</lang>
val mean_ints = mean_reals o (map real);</lang>


the previous code is easier to read and understand, though if you which
The previous code is easier to read and understand, though if you want
the fastest implementation to use in production code notice several points:
the fastest implementation to use in production code notice several points:
it is possible to save a call to <code>length</code> computing the length through
it is possible to save a call to <code>length</code> computing the length through