[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] 4.2.7. Exception Handling



On Wed 18 May 2011 16:52, <xacc.ide@x> 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@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports