double sumDouble(double Function(T) selector) { return fold(0.0, (sum, item) => sum + selector(item)); }