Fold : list, value and function on value and elements of the list.