list folding utility functions: min, max, mean, variance, stddev