On 13 Dec 2021, at 21:04, Marco Antoniotti <marco.antoniotti@unimib.it> wrote:Hiapologies 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.