From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-user@gnu.org
Subject: Re: Exception API
Date: Thu, 07 Sep 2006 23:23:26 +0100 [thread overview]
Message-ID: <87fyf348pt.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <87wt8jkzm5.fsf@zip.com.au> (Kevin Ryde's message of "Tue, 05 Sep 2006 08:58:58 +1000")
Kevin Ryde <user42@zip.com.au> writes:
> I had trouble understanding the different dynamic environments
> specified for that srfi-34 guard. It looked worryingly like there
> could be jumps out of the originating continuation and then back in if
> there's a re-throw, which could be pretty slow with guile's
> continuations.
Yes, I had the same worry. I don't think this is intended, though,
and none of the examples in the SRFI do anything so outlandish.
Perhaps one of us should raise this with the R6RS committee?
(My understanding is that SRFI-34 is regarded as one of the things
that will be added to R6RS, and that it is already in pretty much
final form.)
Assuming that it isn't intended, and that this is clarified in R6RS,
we shouldn't need full continuations to implement guard.
(If anyone's wondering about the catch-based implementation of guard
in srfi/srfi-34.scm, I believe it isn't quite right, but I forgot
exactly why.)
Regards,
Neil
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2006-09-07 22:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 20:10 saving and restoring the error stack trace Marco Maggi
2006-09-04 8:55 ` Exception API Ludovic Courtès
2006-09-04 22:58 ` Kevin Ryde
2006-09-07 22:23 ` Neil Jerram [this message]
2006-09-12 9:36 ` Ludovic Courtès
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=87fyf348pt.fsf@ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=guile-user@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).