Jan-Peter Voigt <jp.vo...@gmx.de> writes:

>>> So AFAICS there are at least 3 different ways to create a module to
>>> use in a header:
>>> 1: (eval-string "(define-module (a b))")
>> What's with the eval-string nonsense?  Why don't you just use
>> (define-module (a b)) instead?
> because: "define-module can only be used at the top level"

Ugh.  Still (primitive-eval '(define-module (a b))) would be nicer since
you at least don't need the Scheme reader at runtime.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to