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

Re: [Scheme-reports] 4.2.7. Exception Handling



> (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?

Cheers

leppie

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