From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: memoization and conditional defines Date: Sun, 17 Nov 2002 13:42:19 -0800 Organization: Home Sender: guile-devel-admin@gnu.org Message-ID: <3DD80D3B.AE5B9F56@pacbell.net> References: <87y97slyip.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1037569885 18518 80.91.224.249 (17 Nov 2002 21:51:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2002 21:51:25 +0000 (UTC) Cc: Dirk Herrmann , guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18DXK7-0004oR-00 for ; Sun, 17 Nov 2002 22:51:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18DXKU-0000hl-00; Sun, 17 Nov 2002 16:51:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18DX5E-0008Si-00 for guile-devel@gnu.org; Sun, 17 Nov 2002 16:36:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18DX5D-0008SL-00 for guile-devel@gnu.org; Sun, 17 Nov 2002 16:36:00 -0500 Original-Received: from bay-bridge.veritas.com ([143.127.3.10] helo=mtvmime03.VERITAS.COM) by monty-python.gnu.org with esmtp (Exim 4.10) id 18DX5C-0008SH-00 for guile-devel@gnu.org; Sun, 17 Nov 2002 16:35:58 -0500 Original-Received: from megami (unverified) by mtvmime03.VERITAS.COM (Content Technologies SMTPRS 4.2.10) with SMTP id ; Sun, 17 Nov 2002 13:35:59 -0800 Original-Received: from pacbell.net([172.22.12.210]) (1572 bytes) by megami via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Sun, 17 Nov 2002 13:35:57 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #15 built 2001-Aug-30) X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-4GB i686) X-Accept-Language: en Original-To: Marius Vollmer Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:1727 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1727 Marius Vollmer wrote: > > Dirk Herrmann writes: > > > I would again like to put your focus on the question, whether we should > > support top level forms like the following: > > > > (if (define foo bar)) > > I'd say that we might want to allow this, but don't try to make it > behave especially nice. viz: (if (eval '(define foo bar))) Yes? > We should provide a better alternative, > however: Conditional 'defines' should be decided at compile time, not > at run-time. We might extend 'cond-expand' to allow running arbitrary > code, or something in that direction. For me, either/anything is fine. I just have to be able to accomplish it in some fashion. The required syntax is less interesting. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel