From: Neil Jerram <neil@ossau.uklinux.net>
Cc: Guile Development <guile-devel@gnu.org>
Subject: Re: lazy-handler-dispatch and debug-on-error
Date: 14 Nov 2003 21:11:45 +0000 [thread overview]
Message-ID: <m37k22zmcu.fsf@laruns.ossau.uklinux.net> (raw)
In-Reply-To: <87ekwcuh3v.fsf@zagadka.ping.de>
>>>>> "Marius" == Marius Vollmer <mvo@zagadka.de> writes:
Marius> Neil Jerram <neil@ossau.uklinux.net> writes:
>> Is there any reason why the lazy-catch around the main REPL loop in
>> boot-9.scm could not be changed [...]
Marius> I dont see any. Having a comment somewhere that explains
Marius> that <REPL> is allowed to modify lazy-handler-dispatch
Marius> would be good, of course.
Does the following look OK?
;; Use a closure here rather than
;; just `lazy-handler-dispatch' so
;; that lookup of
;; lazy-handler-dispatch's value is
;; deferred until a throw occurs.
;; This means that if code executed
;; in the REPL just above set!s
;; lazy-handler-dispatch, the new
;; value will be used to handle the
;; next throw from the REPL.
(lambda args
(apply lazy-handler-dispatch args))))
Regards,
Neil
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2003-11-14 21:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-12 23:18 lazy-handler-dispatch and debug-on-error Neil Jerram
2003-11-13 20:51 ` Marius Vollmer
2003-11-14 21:11 ` Neil Jerram [this message]
2003-11-15 0:55 ` Marius Vollmer
2003-11-17 15:02 ` Paul Jarc
2003-11-17 21:13 ` Neil Jerram
2003-11-26 17:27 ` Mikael Djurfeldt
2003-11-27 21:03 ` Neil Jerram
2003-12-06 11:57 ` Neil Jerram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37k22zmcu.fsf@laruns.ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).