[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] 4.2.7. Exception Handling
- To: scheme-reports@x
- Subject: Re: [Scheme-reports] 4.2.7. Exception Handling
- From: "Aaron W. Hsu" <arcfide@x>
- Date: Thu, 19 May 2011 23:31:47 -0400
- In-reply-to: <m3tycs9znp.fsf@unquote.localdomain>
- Organization: Indiana University
- References: <m3tycs9znp.fsf@unquote.localdomain>
On Wed, 18 May 2011 04:32:58 -0400, Andy Wingo <wingo@x> 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
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports