[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: music functions: how to translate
From: |
Nicolas Sceaux |
Subject: |
Re: music functions: how to translate |
Date: |
Sat, 17 Jun 2006 12:47:22 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
Michael Meixner <address@hidden> writes:
> 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...)
It is available as a third party library.