guile-devel
[Top][All Lists]
Advanced

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

Re: SRFI 34


From: Marius Vollmer
Subject: Re: SRFI 34
Date: 17 May 2003 02:45:08 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Neil Jerram <address@hidden> writes:

> As part of "looking", I've written and committed a first
> implementation of SRFI 34.

Nice!  I think I like SRFI 34.  Just the essential bits...

Anyway, I sense trouble with our lazy-catch:

    guile> (define f (make-fluid))
    guile> (lazy-catch #t (lambda ()
                            (with-fluids ((f 12))
                              (throw 'x)))
                          (lambda (x)
                            (pk 'handler (fluid-ref f))))

    ;;; (handler #f)

Shouldn't this print '(handler 12)' since the handler is supposed to
be running in the dynamic context of the throw?

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

[Prev in Thread] Current Thread [Next in Thread]