lilypond-user
[Top][All Lists]
Advanced

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

Re: Catch direction operators


From: Urs Liska
Subject: Re: Catch direction operators
Date: Tue, 01 Oct 2013 14:31:20 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

Am 01.10.2013 12:19, schrieb Urs Liska:
Am 01.10.2013 12:17, schrieb Franciszek Boehlke:
lambda (x) (car x) is exactly the same as car. You should be able to write just
  #(map car all-grob-descriptions)
instead.


Thanks. Now I see that it didn't _seem_ to work because I ran the wrong LilyPond version :-[


Hi again,

sorry to have to insist on perhaps basic questions.
As it is the function now works as I want, but not in 2.16.
From the versions I have available to test it works with 2.17.6 onwards and not with 2.17.3 and less.
Somehow I suspect the change between 2.17.3 and .4

My best bet is that

  #{ $@(map (lambda (s) #{ $colorizeDir $s #}) debug-direction-grob-list) #})


in the mapList function is the offending piece of code.


Is there a way to write this so it compiles both with 2.16.2 and with current versions?
If that's not possible how would I achieve the same with 2.16.2 (I can do a conditional include if necessary)?


Please refer to the attached version of the function.


TIA
Urs


Attachment: colorizeDir.ly
Description: Text Data


reply via email to

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