On Wed, 18 May 2011 04:32:58 -0400, Andy Wingo <[email protected]> wrote:

> Here's a program:

>   (define p (make-parameter 0))
>    (define f
>      (lambda ()
>        (guard (e ((p)))
>          (parameterize ((p (+ (p) 1)))
>            (raise #t)))))

> What should `(f)' evaluate to, 0 or 1?

It should return 0.

        Aaron W. Hsu

-- 
Programming is just another word for the lost art of thinking.

_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to