Moving ahead Marc Feeley (07 Mar 2003 22:09 UTC)
Re: Moving ahead felix (08 Mar 2003 13:40 UTC)
Re: Moving ahead Marc Feeley (08 Mar 2003 14:38 UTC)
Re: Moving ahead Alhambra Petrofsky (08 Mar 2003 17:09 UTC)
Re: Moving ahead Marc Feeley (09 Mar 2003 03:40 UTC)

Re: Moving ahead Marc Feeley 09 Mar 2003 03:40 UTC

> Do you agree that what you are proposing violates the r5rs
> specification of delay?

Ouch...  I didn't think of the "possible" implementation given in
section 6.4:

  (delay <expression>)  ==>  (make-promise (lambda () <expression>))

with

  (define make-promise
    (lambda (proc)
      ...nothing_particular_concerning_dynamic_binding...))

This clearly prevents the DELAY form from capturing the dynamic
environment.  Programming languages should not be defined using an
implementation!!!  It specifies the semantics in more detail than is
given in the text (section 4.2.5).

So much for my grand plans for the proper semantics of DELAY
with respect to dynamic binding...

Marc