From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julian Graham Newsgroups: gmane.lisp.guile.devel Subject: Re: (r6rs io ports) Date: Sat, 10 Apr 2010 23:34:58 -0400 Message-ID: References: <784638.41402.qm@web37907.mail.mud.yahoo.com> <87k4sfftwt.fsf@gnu.org> <994928.47502.qm@web37902.mail.mud.yahoo.com> <87fx33dvkl.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1270956912 11645 80.91.229.12 (11 Apr 2010 03:35:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Apr 2010 03:35:12 +0000 (UTC) Cc: guile-devel@gnu.org To: =?ISO-8859-1?Q?Ludovic_Court=E8s?= Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Apr 11 05:35:11 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O0nx0-0003AU-JP for guile-devel@m.gmane.org; Sun, 11 Apr 2010 05:35:10 +0200 Original-Received: from localhost ([127.0.0.1]:44191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0nx0-0004OS-2l for guile-devel@m.gmane.org; Sat, 10 Apr 2010 23:35:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O0nwt-0004Nf-Lj for guile-devel@gnu.org; Sat, 10 Apr 2010 23:35:03 -0400 Original-Received: from [140.186.70.92] (port=56711 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O0nws-0004My-E7 for guile-devel@gnu.org; Sat, 10 Apr 2010 23:35:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O0nwr-0000e4-CM for guile-devel@gnu.org; Sat, 10 Apr 2010 23:35:02 -0400 Original-Received: from mail-ew0-f214.google.com ([209.85.219.214]:63088) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O0nwr-0000dc-6x; Sat, 10 Apr 2010 23:35:01 -0400 Original-Received: by ewy6 with SMTP id 6so1370509ewy.32 for ; Sat, 10 Apr 2010 20:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=rpcK8i5t59vVVIfi8+aeX/jfFTioq5JKTsVxJpHM0jk=; b=sbg8nYdlxMC2e1QSVO+L0t0SjVdSZ0+fHaLBwdQW9PNwLjh1m5y0bqnazzuofp3WQR WSMC398QLycMerajGL1qlTjmnb7i0pgVidFOHprarmduC/Gzou7/48z6WEK47HkUU8YC Th8To4TY73666QVbsMenEakI1L54tcgUNdqGI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VerP/6Ln0vXRdmPKNim/e3szQEL7PWWyH/gCJgtyyWeW9+sdGFS2uuQFBPuffQ9bqw Mvb9tEiyRYOphZ0FdUICRr24ruPYBZCaJaiWUTjCU/eWBbE08v+ddCyt3Hl9rfrbX+++ GKQTMHymsZYmhJBZ8d1ACEGDql44olXCuZNro= Original-Received: by 10.213.9.135 with HTTP; Sat, 10 Apr 2010 20:34:58 -0700 (PDT) In-Reply-To: <87fx33dvkl.fsf@gnu.org> Original-Received: by 10.213.49.79 with SMTP id u15mr1452826ebf.20.1270956899008; Sat, 10 Apr 2010 20:34:59 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10192 Archived-At: Hi Mike and Ludo, >> Works for me.=A0 Some questions that will have to be answered. >> Is there a C API for raising R6RS error conditions? > > No, not yet. =A0Actually, Julian=92s work on R6RS libraries isn=92t merge= d > yet. FWIW, the way this works right now on the wip-r6rs-libraries branch is that R6RS `raise' is implemented in terms of Guile's `throw' -- my implementation just uses a wrapper record type that encapsulates the original exception object for handling by R6RS exception handlers and optionally stores a continuation in order to support `raise-continuable'. (I suppose I could move some of that code to C if people thought it made sense.) Regards, Julian