Re: [Scheme-reports] 4.2.7. Exception Handling Andy Wingo 18 May 2011 15:06 UTC

On Wed 18 May 2011 16:52, <xacc.ide@gmail.com> writes:

>> (define p (make-parameter 0))
>> (define f
>>   (lambda ()
>>     (guard (e ((zero? (p)) (f))
>>               (else (p)))
>>       (parameterize ((p 1))
>>         (raise #t)))))
>>
>> should never complete
>
> Sorry for being pedantic, but how can the second definition not complete?
>
> Did you imply an invocation of F?

Sorry, yes I did imply that.  Always good to be clear!

A
--
http://wingolog.org/

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports