[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with modules in Guile 2.0
From: |
Andy Wingo |
Subject: |
Re: Problem with modules in Guile 2.0 |
Date: |
Wed, 07 Mar 2012 21:32:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Hi!
Mark gave great answers; I just wanted to give one more option:
On Tue 06 Mar 2012 22:48, Gubinelli Massimiliano <address@hidden> 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/
- Problem with modules in Guile 2.0, Gubinelli Massimiliano, 2012/03/06
- Re: Problem with modules in Guile 2.0, Mark H Weaver, 2012/03/07
- Re: Problem with modules in Guile 2.0,
Andy Wingo <=
- Re: Problem with modules in Guile 2.0, Gubinelli Massimiliano, 2012/03/07
- Re: Problem with modules in Guile 2.0, Mark H Weaver, 2012/03/07
- Re: Problem with modules in Guile 2.0, Gubinelli Massimiliano, 2012/03/08
- Re: Problem with modules in Guile 2.0, Mark H Weaver, 2012/03/09
- Re: Problem with modules in Guile 2.0, Gubinelli Massimiliano, 2012/03/09
- Re: Problem with modules in Guile 2.0, Mark H Weaver, 2012/03/11
- Re: Problem with modules in Guile 2.0, Gubinelli Massimiliano, 2012/03/12