[plt-scheme] Re: plt-scheme Digest, Vol 7, Issue 31
geb a wrote:
> Hello,
>
> The following code is taken from SICP's section on
> streams verbatim.
...
> (define (cons-stream a b)
> (cons a (delay b)))
Except for this definition. Felix has already shown you
how to define cons-stream as a special form. Later on
in SICP you will run into the same problems with amb.
See
<http://schemecookbook.org/view/Cookbook/MiscSICP>
for how to define amb and for how to use the SICP
picture language.
--
Jens Axel Søgaard