[racket] Lambda, object identity & streams

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue Apr 15 14:46:13 EDT 2014

On Apr 14, 2014, at 4:20 PM, Philipp Dikmann <philipp at dikmann.de> wrote:

For the general question, see Ian's response. 

> I'm currently trying to grok streams as explained in SICP. Their implementation relies on the delayed (and optimized) evaluation of a streams cdr. This is readily achieved using simple lambda-wrapping macros.

This is one of those illusions that text books like to create. By the time you have thought through recursive re-entry and exception handling and continuations and who knows what -- all of them available in MIT Scheme, which was used to create SICP -- nothing looks simple and easy anymore. 

-- Matthias

Posted on the users mailing list.