Hi
apologies for the stupid question. I was reviewing some teaching material and looked at the following Scheme (form SICP) code about "streams".
(define (integral integrand initial-value dt)
(define int
(cons-stream initial-value
(add-streams (scale-stream integrand dt)
int)))
int)
The question is how you'd rendered it in Common Lisp or how you would provide some macrology to mimic the inner define. I know this has been asked before... I am sure somebody knows the answer.
All the best
--
Marco Antoniotti, Professor tel. +39 - 02 64 48 79 01
DISCo, Università Milano Bicocca U14 2043
http://dcb.disco.unimib.itViale Sarca 336
I-20126 Milan (MI) ITALY