guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memoization and conditional defines


From: Bruce Korb
Subject: Re: memoization and conditional defines
Date: Sun, 17 Nov 2002 13:42:19 -0800

Marius Vollmer wrote:
> 
> Dirk Herrmann <address@hidden> writes:
> 
> > I would again like to put your focus on the question, whether we should
> > support top level forms like the following:
> >
> >   (if <condition> (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 <condition> (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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]