Logo

Programming-Idioms

History of Idiom 54 > diff from v27 to v28

Edit summary for version 28 by Debaran:
New Scala implementation by user [Debaran]

Version 27

2018-12-17, 17:55:45

Version 28

2019-02-01, 06:29:30

Idiom #54 Compute sum of integers

Calculate the sum s of integer list x.

Idiom #54 Compute sum of integers

Calculate the sum s of integer list x.

Code
s = x.sum()