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: truth of %nil Date: Sun, 30 Aug 2009 10:15:19 -0400 Message-ID: <20090830141519.GB2255@fibril.netris.org> References: <87k52uvhnt.fsf@arudy.ossau.uklinux.net> <20090702142823.GA1401@fibril.netris.org> <877hyqk8bx.fsf@arudy.ossau.uklinux.net> <20090703153218.GA1382@fibril.netris.org> <20090705024135.GA2363@fibril.netris.org> <20090707111406.GA1388@fibril.netris.org> <87iqg5y2o8.fsf@arudy.ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251642890 14464 80.91.229.12 (30 Aug 2009 14:34:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Aug 2009 14:34:50 +0000 (UTC) Cc: Andy Wingo , guile-devel To: Neil Jerram Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Aug 30 16:34:42 2009 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.50) id 1MhlUO-0007XG-Ik for guile-devel@m.gmane.org; Sun, 30 Aug 2009 16:34:42 +0200 Original-Received: from localhost ([127.0.0.1]:52621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhlEU-00016H-If for guile-devel@m.gmane.org; Sun, 30 Aug 2009 10:18:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MhlBx-0000EA-HZ for guile-devel@gnu.org; Sun, 30 Aug 2009 10:15:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MhlBs-0000BX-Mt for guile-devel@gnu.org; Sun, 30 Aug 2009 10:15:36 -0400 Original-Received: from [199.232.76.173] (port=51699 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MhlBs-0000BI-5l for guile-devel@gnu.org; Sun, 30 Aug 2009 10:15:32 -0400 Original-Received: from world.peace.net ([204.107.200.8]:54183) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MhlBr-0008LW-45 for guile-devel@gnu.org; Sun, 30 Aug 2009 10:15:32 -0400 Original-Received: from localhost ([127.0.0.1] helo=fibril.netris.org ident=hope6) by world.peace.net with esmtp (Exim 4.69) (envelope-from ) id 1MhlBg-0007hO-HF; Sun, 30 Aug 2009 10:15:20 -0400 Content-Disposition: inline In-Reply-To: <87iqg5y2o8.fsf@arudy.ossau.uklinux.net> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:9208 Archived-At: On Sun, Aug 30, 2009 at 12:13:59PM +0100, Neil Jerram wrote: > Mark H Weaver writes: > > > This numbering has the nice properties that 0 is #f. > > Just to be clear: will this mean that (SCM_BOOL_F == 0) ? As things > stand I don't think it will, because SCM_MAKIFLAG shifts and adds > 0x04. Yes, that's correct. SCM_BOOL_F is 4. What I should have said above is that #f is IFLAG number 0. > > Also, you may have noticed that I've been using the term "lisp" > > instead of "elisp". This is because guile may support other lisps in > > the future, and they will also need the same %nil handling. (For that > > matter, we could even use %nil to implement an "old scheme" language > > which treats '() as false.) With this in mind, should SCM_ELISP_NIL > > be renamed to SCM_LISP_NIL? > > Yes, that sounds like a good argument to me - i.e. I can't see any > reason why the special-case-ness of Elisp shouldn't apply equally to > other Lisps - so please do rename "ELISP" things to "LISP", where this > argument supports that. Sounds good! Mark