Question about lists:foldl()

Torbjorn Tornkvist <>
Thu Nov 9 16:39:57 CET 2000


Change to upprcase, as in:

1> lists:foldl( fun (X,Y)->X+Y end,2 ,[3,4,5]).
14

Cheers /Tobbe



More information about the erlang-questions mailing list