lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re : little scheme problem (ly-> xml )


From: Gilles
Subject: Re : little scheme problem (ly-> xml )
Date: Thu, 28 Jul 2011 22:53:39 +0200
User-agent: Opera Mail/11.50 (Win32)


(define function-value-list
       '((duration      . ( ,ly:duration-log )) 
         (step           . (,ly:pitch-notename ))
         (octave         . (,ly:pitch-octave ))
         (test           . (,display ))))


At the beginning of line 2, replace the apostrophe ' by `
(a semiquote in scheme)
http://www.gnu.org/software/guile/manual/guile.html#Expression-Syntax

(define function-value-list
         `((duration      . ( ,ly:duration-log ))       etc ...


Gilles




reply via email to

[Prev in Thread] Current Thread [Next in Thread]