cl, scheme: Introduce `reduce' functions.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 18 Nov 2009 16:35:54 +0000 (16:35 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 18 Nov 2009 16:35:54 +0000 (16:35 +0000)
commit851c7e3a447f19148f9d714dbf3138773f326e16
tree62cb55a3f58ac66bdb5956b890292897dce3e882
parent667134e3c91440d099c2d1b113753212ba12b5fd
cl, scheme: Introduce `reduce' functions.

These illustrate higher-order functions fairly nicely.  Note that
the CL version is explicitly iterative with side-effects because of
the lack of reliable tail-recursion.
cl-fringe.lisp
scheme-fringe.scm