From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Smith Newsgroups: gmane.comp.gnu.make.devel,gmane.lisp.guile.user Subject: Re: Guile support in GNU make Date: Tue, 31 Jan 2012 16:32:06 -0500 Organization: GNU's Not UNIX! Message-ID: <1328045526.4002.17.camel@psmith-ubeta> References: <1316557011.28907.237.camel@homebase> <1326572016.3482.144.camel@homebase> <20120122182923.GB3460@mini.zxlink> <1327269379.4539.41.camel@homebase> <87liozq7n9.fsf@gnuvola.org> <87ehurq7c3.fsf@gnuvola.org> <1327867554.3401.18.camel@homebase> <20120131191756.GB8415@mini.zxlink> Reply-To: psmith@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328045536 23705 80.91.229.3 (31 Jan 2012 21:32:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2012 21:32:16 +0000 (UTC) Cc: Guile Users , make-alpha@gnu.org, Thien-Thi Nguyen To: Kirill Smelkov Original-X-From: make-alpha-bounces+gnu-make-alpha=m.gmane.org@gnu.org Tue Jan 31 22:32:16 2012 Return-path: Envelope-to: gnu-make-alpha@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RsLJG-0005j5-4n for gnu-make-alpha@m.gmane.org; Tue, 31 Jan 2012 22:32:14 +0100 Original-Received: from localhost ([::1]:50709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsLJE-000122-SE for gnu-make-alpha@m.gmane.org; Tue, 31 Jan 2012 16:32:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsLJB-00011w-Lg for make-alpha@gnu.org; Tue, 31 Jan 2012 16:32:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsLJA-0003Jo-LX for make-alpha@gnu.org; Tue, 31 Jan 2012 16:32:09 -0500 Original-Received: from mx0b-000f4101.pphosted.com ([67.231.152.146]:55632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsLJA-0003J6-E0; Tue, 31 Jan 2012 16:32:08 -0500 Original-Received: from pps.filterd (m0000687 [127.0.0.1]) by mx0b-000f4101.pphosted.com (8.14.3/8.14.3) with SMTP id q0VLW7Sh020122; Tue, 31 Jan 2012 16:32:07 -0500 Original-Received: from mta1.netezza.com (mta1.netezza.com [12.148.248.132]) by mx0b-000f4101.pphosted.com with ESMTP id 12paaurc2v-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 31 Jan 2012 16:32:07 -0500 Original-Received: from [172.29.90.126] (172.29.90.126) by owa1.netezza.com (172.29.50.131) with Microsoft SMTP Server id 8.1.436.0; Tue, 31 Jan 2012 16:32:06 -0500 In-Reply-To: <20120131191756.GB8415@mini.zxlink> X-Mailer: Evolution 2.32.2 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7361, 1.0.211, 0.0.0000 definitions=2012-01-31_08:2012-01-31, 2012-01-31, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 67.231.152.146 X-BeenThere: make-alpha@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion list for GNU make alpha testers and developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: make-alpha-bounces+gnu-make-alpha=m.gmane.org@gnu.org Original-Sender: make-alpha-bounces+gnu-make-alpha=m.gmane.org@gnu.org Xref: news.gmane.org gmane.comp.gnu.make.devel:757 gmane.lisp.guile.user:9231 Archived-At: On Tue, 2012-01-31 at 23:17 +0400, Kirill Smelkov wrote: > from Debian testing, and I don't see the problem for test from the > make.info example - it works ok: > > define GUILEIO > (define (mkclose) > (close-port MKPORT) > #f) > > #f > endef > > Is it that (define ...) or maybe I've misunderstood something? It's because of the final "#f" in the define GUILEIO. That means that the final result of passing that content to Guile is #f, rather than the result of evaluating the final (define ...). If you remove that trailing "#f", or use one of the other examples we've bandied about, you'll see the same behavior (with the older version, before I fixed it). Cheers!