Programming-Idioms

History of Idiom 54 > diff from v25 to v26

Edit summary for version 26 :
New Scheme implementation by user [Dodopod]

Version 25

2017-05-30, 15:37:58

Version 26

2017-06-14, 15:10:53

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
(define s (foldr + 0 x))