zv / SICP-guile

SICP in Guile & Emacs Lisp
681 stars 49 forks source link

Ex 1.3: fix largest-sums #6

Closed maxhgerlach closed 6 years ago

maxhgerlach commented 6 years ago

Hi, your guide has been very helpful to get started with SICP. However, I noticed a small bug in the solution to one of the first exercises.

(largest-sums 1 2 3)      ;13
(largest-sums 3 2 1)      ;13
(largest-sums 2 3 1)      ;13 --> was 18 before