From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: proposal: stricter type-checking for macros Date: Sun, 25 Apr 2004 00:09:51 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87vfjpdo40.fsf@zagadka.ping.de> References: <16482.53029.540065.796985@localhost.localdomain> <16482.64542.175708.694774@localhost.localdomain> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082844716 8494 80.91.224.253 (24 Apr 2004 22:11:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Apr 2004 22:11:56 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Apr 25 00:11:45 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 1BHVNA-0004Lo-01 for ; Sun, 25 Apr 2004 00:11:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BHVM3-0003V6-De for guile-devel@m.gmane.org; Sat, 24 Apr 2004 18:10:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BHVLx-0003Un-Cg for guile-devel@gnu.org; Sat, 24 Apr 2004 18:10:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BHVLO-0002lB-Ri for guile-devel@gnu.org; Sat, 24 Apr 2004 18:10:26 -0400 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BHVLO-0002kP-7B for guile-devel@gnu.org; Sat, 24 Apr 2004 18:09:54 -0400 Original-Received: from dialin.net17.dip113.dokom.de ([195.253.17.113] helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 3.36 #3) id 1BHVNl-0007Jz-00 for guile-devel@gnu.org; Sun, 25 Apr 2004 00:12:21 +0200 Original-Received: (qmail 32450 invoked by uid 1000); 24 Apr 2004 22:09:52 -0000 Original-To: hanwen@xs4all.nl In-Reply-To: <16482.64542.175708.694774@localhost.localdomain> (Han-Wen Nienhuys's message of "Thu, 25 Mar 2004 16:34:54 +0100") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) 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:3641 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3641 Han-Wen Nienhuys writes: > I vote for > > #define TYPECHECKED(x) (0? (*(SCM*)0=(x)): x) > > which returns x, and obviates the void casting. How would you want to install this into Guile? Would it be part of the public API or would we just use it in a lot of places ourselves? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel