From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: and-let* empty body Date: Fri, 20 Aug 2004 11:34:23 +1000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87657ea8yo.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1092965722 1891 80.91.224.253 (20 Aug 2004 01:35:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Aug 2004 01:35:22 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Aug 20 03:35:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BxyJJ-0004oC-00 for ; Fri, 20 Aug 2004 03:35:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BxyNb-00045X-BO for guile-devel@m.gmane.org; Thu, 19 Aug 2004 21:39:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BxyNU-00045S-EQ for guile-devel@gnu.org; Thu, 19 Aug 2004 21:39:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BxyNS-00045F-WE for guile-devel@gnu.org; Thu, 19 Aug 2004 21:39:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BxyNS-00045C-UI for guile-devel@gnu.org; Thu, 19 Aug 2004 21:39:34 -0400 Original-Received: from [61.8.0.85] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BxyIh-00071Y-Rm for guile-devel@gnu.org; Thu, 19 Aug 2004 21:34:40 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i7K1Ycje016275 for ; Fri, 20 Aug 2004 11:34:38 +1000 Original-Received: from localhost (ppp2529.dyn.pacific.net.au [61.8.37.41]) by mailproxy1.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i7K1YalY021159 for ; Fri, 20 Aug 2004 11:34:37 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1BxyIS-00046I-00; Fri, 20 Aug 2004 11:34:24 +1000 Original-To: guile-devel@gnu.org Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) 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: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3990 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3990 --=-=-= * and-let-star.scm (and-let*): Give #t for an empty body per srfi-2 spec, previously came out as an empty (begin). This is another for 1.6 too. --=-=-= Content-Disposition: attachment; filename=and-let-star.scm.t.diff --- and-let-star.scm.~1.7.~ 2004-08-18 10:17:23.000000000 +1000 +++ and-let-star.scm 2004-08-19 14:34:36.000000000 +1000 @@ -25,7 +25,9 @@ (define (expand vars body) (cond ((null? vars) - `(begin ,@body)) + (if (null? body) + #t + `(begin ,@body))) ((pair? vars) (let ((exp (car vars))) (cond --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel --=-=-=--