Logo

Programming-Idioms

History of Idiom 54 > diff from v48 to v49

Edit summary for version 49 by programming-idioms.org:
[Scheme] Emphasize in comments

Version 48

2021-04-15, 13:32:29

Version 49

2021-04-17, 20:23:49

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 fx+ x))
Code
(define s (apply fx+ x))
Comments bubble
`fx+` is integer (fixnum) operation
Comments bubble
fx+ is integer (fixnum) operation