On Oct 15, 2009, at 10:14 AM, Marco Maggi wrote:

Ciao,

 while precompiling some library, I get the "cannot write a
non-thunk procedure; the one  given has free vars" error; it
seems to  me that  this happens in  libraries making  use of
expand-phase  built  LET-SYNTAX  forms  defining  identifier
macros expanding to a record field accessor or mutator.

 Is it correct that those cannot be serialised, or do I
have to look for other things?

Procedures, in general, are not serializable.  (Ikarus happens
to allow some procedures to be serialized but that's more like
a bug than a feature.)  If your code triggers this error, you
must be doing something wrong, like having a macro expand to
a (quoted) procedure instead of expanding to syntax that makes
the procedure.

Aziz,,,

Reply via email to