int sum = [1, 2, 3].fold(0, (sum, current) => sum + current); // 6 int sum = [1, 2, 3].fold(0, (p, c) => p + c); // 6