This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: misunderstanding define-constant?
Bruce Lewis wrote:
Do you know off the top of your head if fixing this bug would also make
constant-fold work with procedure arguments?
I'm fairly sure it wouldn't.
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.
It may be related to what constant-fold considers a "constant".
I guess we could extend it to consider a global function as a constant.
--
--Per Bothner
per@bothner.com http://per.bothner.com/