[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie question on scheme functions
From: |
Nicolas Sceaux |
Subject: |
Re: newbie question on scheme functions |
Date: |
Fri, 31 Dec 2004 13:05:40 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
Andrea Rossato <address@hidden> writes:
> I get:
>
> prova.ly:8:8: In expression (accidental->markup (ly:pitch-alteration
> pitch)):
> prova.ly:8:8: Unbound variable: accidental->markup
>
> The very same function in chord-name.scm works perfectly.
> I'm I missing something?
Ok sorry.
That's because `accidental->markup' is not exported from the module
where it is defined, ie (lily).
You can do
#(define-module (lily))
#(export accidental->markup)
#(define-module (*anonymous-ly-0*))
at the beginning of your file, or alternatively, copy and paste the
`accidental->markup' definition from scm/accidental->markup to your
input file.
nicolas