From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: Two r6rs bugs Date: Sun, 25 Nov 2012 10:58:08 -0500 Message-ID: <87d2z11xpr.fsf@tines.lan> References: <873902x6v9.fsf@googlemail.com> <877gpc4yte.fsf@tines.lan> <878v9pdfve.fsf@Kagami.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353859128 32318 80.91.229.3 (25 Nov 2012 15:58:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2012 15:58:48 +0000 (UTC) Cc: guile-devel@gnu.org To: Ian Price Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Nov 25 16:59:00 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tcebg-000518-W4 for guile-devel@m.gmane.org; Sun, 25 Nov 2012 16:58:57 +0100 Original-Received: from localhost ([::1]:35220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcebW-0001o7-2H for guile-devel@m.gmane.org; Sun, 25 Nov 2012 10:58:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcebP-0001my-8z for guile-devel@gnu.org; Sun, 25 Nov 2012 10:58:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TcebK-0007kW-An for guile-devel@gnu.org; Sun, 25 Nov 2012 10:58:39 -0500 Original-Received: from world.peace.net ([96.39.62.75]:54763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TcebK-0007j7-6O for guile-devel@gnu.org; Sun, 25 Nov 2012 10:58:34 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Tceb3-0000Ny-Dj; Sun, 25 Nov 2012 10:58:17 -0500 In-Reply-To: <878v9pdfve.fsf@Kagami.home> (Ian Price's message of "Sun, 25 Nov 2012 12:30:29 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15248 Archived-At: Ian Price writes: > Mark H Weaver writes: > >> Instead of using 'null?' and 'cdr' on the syntax object, can you please >> rework this to use 'syntax-case'? I.e. instead of (if (null? ...) ...) >> do this: >> >> (syntax-case #'(rest ...) () >> (() ) >> ((name rest ...) )) >> >> What do you think? > > Yes, that would be much better. It's startling how often I forget I can > syntax-case this way. > > Changed, okay for me to push? Yes, please push. Thanks, Mark