Add sub convenient for lists:foldl.