This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


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

Re: Bad define placement error


Aleksandar Bakic <bakicale@cse.msu.edu> writes:

> I just installed some code written for Guile 1.3a, under Guile
> 1.3.2a. At one point, I got "Bad define placement" error, in code that
> uses guile-tcltk and has no visible (i.e., at the user level)
> `define'. I saw in the Changelog that there were some recent changes
> in eval.c regarding internal defines... Any hints?

Internal defines must be placed at the beginning of bodies of lambda,
let, etc.  If there is any macro that expands into define, this macro
must also be placed so.

proc expands into define.

Do you have any proc except at top-level?

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