guile-devel
[Top][All Lists]
Advanced

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

Re: lazy-handler-dispatch and debug-on-error


From: Paul Jarc
Subject: Re: lazy-handler-dispatch and debug-on-error
Date: Mon, 17 Nov 2003 10:02:51 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Neil Jerram <address@hidden> wrote:
> Is there any reason why the lazy-catch around the main REPL loop in
> boot-9.scm could not be changed from
>
>             (lazy-catch #t
>                         (lambda () <REPL>)
>                         lazy-handler-dispatch)
> to
>             (lazy-catch #t
>                         (lambda () <REPL>)
>                         (lambda args
>                           (apply lazy-handler-dispatch args)))
> ?

FWIW, the definition of lazy-handler-distpatch itself already looks a
lot like that lambda.  It appears that you can set
default-lazy-handler inside the REPL to get the desired effect.


paul




reply via email to

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