This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: misunderstanding define-constant?


Per Bothner <per@bothner.com> writes:

> This is a Kawa bug.
> 
> The problem is that the constant values are being calculated too early.
> They use fields that will later get initialized with the lambda values,
> but haven't be so far.
> 
> I haven't looked at it enough to see if the fix is easy or hard.

Do you know off the top of your head if fixing this bug would also make
constant-fold work with procedure arguments?

Or maybe it already does...I tried it a long time ago, and when it
didn't work I assumed it wasn't intended to be used that way.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]