This code also diverges pretty far from the surrounding code style - simple-statistics is written with semicolons, and no space between function arguments and surrounding `()`