From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: Re: typechecking Date: Sun, 16 May 2004 17:11:22 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <16551.33946.660778.142166@localhost.localdomain> References: <16486.52591.672130.224861@localhost.localdomain> <87brkwc6f7.fsf@zagadka.ping.de> <16544.2271.454230.492574@localhost.localdomain> <40A5DFF2.80004@dirk-herrmanns-seiten.de> Reply-To: hanwen@xs4all.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1084720173 11009 80.91.224.253 (16 May 2004 15:09:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 May 2004 15:09:33 +0000 (UTC) Cc: guile-devel@gnu.org, Marius Vollmer Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun May 16 17:09:21 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPNGS-0005MQ-00 for ; Sun, 16 May 2004 17:09:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPNG1-0002fr-6f for guile-devel@m.gmane.org; Sun, 16 May 2004 11:08:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BPNFs-0002fh-Jz for guile-devel@gnu.org; Sun, 16 May 2004 11:08:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BPNFM-0002a2-8u for guile-devel@gnu.org; Sun, 16 May 2004 11:08:43 -0400 Original-Received: from [213.84.26.127] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BPNFL-0002ZT-LR for guile-devel@gnu.org; Sun, 16 May 2004 11:08:12 -0400 Original-Received: from localhost.localdomain.byrd.xs4all.nl (byrd [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id i4GFBM65003866; Sun, 16 May 2004 17:11:22 +0200 Original-To: Dirk Herrmann In-Reply-To: <40A5DFF2.80004@dirk-herrmanns-seiten.de> X-Mailer: VM 7.14 under Emacs 21.3.1 X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean X-MailScanner-From: hanwen@xs4all.nl X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 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:3721 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3721 dirk@dirk-herrmanns-seiten.de writes: > Han-Wen Nienhuys wrote: > > > mvo@zagadka.de writes: > > > > > When I say "type checking" what really mean is that the compiler > > > checks whether the user only uses SCM values in the way we want it > > > to, like, no direct arithmetic, no direct use in conditional tests, > > > only > > > > What's the rationale for not allowing direct use in conditional > > tests? > > Code like the following: > that doesn't really answer my question. It seems to me that if (obj == gh_symbol2scm("bla")) ... is safe. Do I understand correctly that disallowing this is a side effect of trying to disallow if (obj) ... -- Han-Wen Nienhuys | hanwen@xs4all.nl | http://www.xs4all.nl/~hanwen _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel