Hi!

Mark gave great answers; I just wanted to give one more option:

On Tue 06 Mar 2012 22:48, Gubinelli Massimiliano <[email protected]> writes:

> (load "test-modules.scm")

Add a definition first:

  (cond-expand
   (guile-2
    (define-syntax-rule (begin-for-syntax form ...)
      (eval-when (load compile eval) (begin form ...))))
   (else
    (define begin-for-syntax begin)))

Then:

  (begin-for-syntax
   (load "test-modules.scm"))

Regards,

Andy
-- 
http://wingolog.org/

Reply via email to