fold<T> method

T fold <T>(T initialValue, T combine(T previousValue, E element))