lilypond-user
[Top][All Lists]
Advanced

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

Re: music functions: how to translate


From: Michael Meixner
Subject: Re: music functions: how to translate
Date: Sat, 17 Jun 2006 10:16:28 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Nicolas Sceaux <nicolas.sceaux <at> free.fr> writes:

> Using a loop construct (not part of guile), that would be:
> 
>   (loop for event in (ly:music-property event-chord 'elements)
>         unless (null? (ly:music-property event 'duration))
>         do (set! (ly:music-property event 'duration)
>                  new-duration))
> 
> Some parts of the LilyPond scheme code would be easier to read (and to
> write) if they'd use it, imho.

How would this syntax come into play, of not with GUILE?
One would have to build these functions in a private library?
(Sorry for newbie-devel-speak here...)

Michael






reply via email to

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