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: kawa 1.6.99 and set!ing parameters


Bruce Lewis wrote:

I think the Kawa compiler is making the same mistake most humans would
make in reading your code, i.e. for
 (lambda (foo . pad) ...)
it's easy to mistakenly assume that bar is a list in the body of the
lambda.
Yes, but it should override that assumption if there is an assignment
(set!) to that parameter.  This may of course hurt performance, since
we would lose the type information associate with the parameter, unless
we have more sophisticated type inference.
--
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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