Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

sum

🌌sum

sum -- generic sum of the elements of a List of numeric.

This should allow summing the elements of a list, as in

l := [1,2,3]
say sum l # 6

NYI: This is experimental and does not work yet

sum -- generic sum of the elements of a List of numeric.

This should allow summing the elements of a list, as in

l := [1,2,3]
say sum l # 6

NYI: This is experimental and does not work yet