local L SumarLista Res in
L = [10 20 30 40 500]
fun {SumarLista L}
%H|T = L o L = H|T ...... L = '|'(1:H 2:T)
case L of H|T then % Aca aplicamos el pattern matching
H + {SumarLista T}
else
0
end
end
Res = {SumarLista L}
{Browse Res}
end