:: Num a => [a] -> a package:extra

A strict version of sum. Unlike sum this function is always strict in the Num argument, whereas the standard version is only strict if the optimiser kicks in.
sum' [1, 2, 3] == 6
A strict version of product.
product' [1, 2, 4] == 8