This is the mail archive of the kawa@sourceware.org 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: order of macro expansion


Hello.

Per Bothner wrote:
>On 02/28/2012 12:30 AM, Max Kirillov wrote:
>> I would like to know if there is a way to manage (or at least predict)
>> macros expansion. For example, I have the following code:

> I think I need to see the definition of the imports macro.

After a several days after the post I discovered that was
really my mistake. It was not caused by hygiene, I just
forgot to put "." so got (begin ((define-alias ...) ...))
instead of (begin (define-alias ...) ...). For some reason
that did not produce error, and sometimes even worked.

I use symbol->string and string->symbol functions and so far
it works. In fact I don't into hygiene concept much, prefer
thinking in cl style. That sometimes fails, but usually
I get either a build failure or desired result.

Sorry I did not post a followup.

Thanks,
-- 
Max


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