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 incompatibilities Date: Fri, 21 May 2010 08:47:33 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274446088 10161 80.91.229.12 (21 May 2010 12:48:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 May 2010 12:48:08 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri May 21 14:48:07 2010 connect(): No such file or directory 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 1OFRdn-0003fg-7a for guile-devel@m.gmane.org; Fri, 21 May 2010 14:48:07 +0200 Original-Received: from localhost ([127.0.0.1]:52882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFRdj-0008Nx-RL for guile-devel@m.gmane.org; Fri, 21 May 2010 08:47:47 -0400 Original-Received: from [140.186.70.92] (port=51966 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFRda-0008KY-Iw for guile-devel@gnu.org; Fri, 21 May 2010 08:47:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFRdW-0004x8-UC for guile-devel@gnu.org; Fri, 21 May 2010 08:47:37 -0400 Original-Received: from mail-ew0-f216.google.com ([209.85.219.216]:37838) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFRdW-0004ws-Oq for guile-devel@gnu.org; Fri, 21 May 2010 08:47:34 -0400 Original-Received: by ewy8 with SMTP id 8so210274ewy.8 for ; Fri, 21 May 2010 05:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Nc1NHJJvVlo4aCmdv1IIsof1DeA91Fe7uHnSE5WWfE8=; b=AJvrX9JByS+PyvOou1I5tYO8Ovl7zc42A9jjjBAMSLAM9j8hRksdK6H/ZD0qb+H6gl Ew/qK1OuH6LYpCcUtiUK/03VclptxSZQ8X9kEHC6jPjp6E0uYH6KmUcBYCB3MA4zoiq9 rTKDR54DUCX1Or8mRgpAO1DXOJLm798Crty68= 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=aZLnDOWhDRXqEOljtr0u44M+iEkXwyB2t+GHh1IzqXIjFnExhuhK29oHis/0BStu9e 3wdys05lzUkrCImMbc6zzYbn6urhbEbCT2SbU/TC6ER4/Fm83xvajL+ZkPgartLNxdIS WEW3Ix/0F3EaWpoFglplXvAFk61/MDey7dJYE= Original-Received: by 10.213.48.2 with SMTP id p2mr571558ebf.54.1274446053484; Fri, 21 May 2010 05:47:33 -0700 (PDT) Original-Received: by 10.213.4.133 with HTTP; Fri, 21 May 2010 05:47:33 -0700 (PDT) In-Reply-To: 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:10339 Archived-At: Hey Andy, > =A0* The R6RS specifies many situations in which a conforming > =A0 implementation must signal a specific error. Guile doesn't really > =A0 care about that too much -- if a correct R6RS program would not hit > =A0 that error, we don't bother checking for it. In a lot of these cases, that's because our libraries simply re-export bindings from Guile's core library or an SRFI. Instead of changing the error-signaling of the original procedures, we could wrap them a bit more in the relevant libraries to add argument validation, say, or to re-throw Guile's core errors as R6RS exceptions. Regards, Julian