Logo

Programming-Idioms

History of Idiom 54 > diff from v46 to v47

Edit summary for version 47 by thinkelman:
New Scheme implementation by user [thinkelman]

Version 46

2021-04-15, 13:27:23

Version 47

2021-04-15, 13:28:14

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.

Variables
s,x
Variables
s,x
Code
(define s (apply + x))