More Summing is not that hard 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News I posted a study guide for the final (Mike O'Donnell)
Re: News Study questions for problem 1 (Mike O'Donnell)
Re: Question matrices ...??? (Ivan Beschastnikh)
Re: Feedback Each dimension of a matrix is a level of list nesting (Mike O'Donnell)
Re: More Solutions to 2 practice projections of matrices (Ivan Beschastnikh)
Date: 2002, Dec 10
From: Maris Goldmanis <mgoldma@uchicago.edu>

I don't think the summing procedure needs to be quite as "insane". We can just use the sums procedure defined in a previous study problem to get

(define project_3->2_matrix_sum
  (map_parallel_lists sums))

Sums itself is just as simple:

(define sums
  (map_parallel_lists sum))

I almost forgot that sum itself was not predifened, so we need that too:

(define (sum listin)
  ((accumulate_lr 0 (lambda (x) x) + ) listin))


to: "Summing is not that hard"