[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tempoMark - documentation and use
From: |
Mats Bengtsson |
Subject: |
Re: tempoMark - documentation and use |
Date: |
Tue, 12 May 2009 19:05:08 +0200 |
User-agent: |
Thunderbird 2.0.0.5 (X11/20070716) |
Graham Percival wrote:
So should we remove (cons everywhere? That'd be easy enough to
grep for.
No, not in situations where you want to evaluate the values before you
form the pair, like the following example from programming-interface.itely:
manualBeam =
#(define-music-function (parser location beg end)
(number? number?)
#{
\once \override Beam #'positions = #(cons $beg $end)
#})
\relative {
\manualBeam #3 #6 c8 d e f
}
Here, the alternative to using cons is to use
#`(,$beg . ,$end)
which is far more ugly!
Actually, using cons consequently ;-) might make sense since it both
avoids the above mentioned problems and avoids problems with people who
don't notice the dot between the values, but my impression is that '(1 .
2) is used more often than (cons 1 2) in the current documentation and
it saves some typing, so I don't have any strong opinion in any direction.
/Mats
- [PATCH]Re: tempoMark - documentation and use, (continued)
- [PATCH]Re: tempoMark - documentation and use, Jonathan Kulp, 2009/05/12
- Re: [PATCH]Re: tempoMark - documentation and use, Trevor Daniels, 2009/05/13
- Re: [PATCH]Re: tempoMark - documentation and use, Jonathan Kulp, 2009/05/13
- Re: [PATCH]Re: tempoMark - documentation and use, John Mandereau, 2009/05/13
- Re: [PATCH]Re: tempoMark - documentation and use, Jonathan Kulp, 2009/05/13
- Re: [PATCH]Re: tempoMark - documentation and use, John Mandereau, 2009/05/13
- Re: [PATCH]Re: tempoMark - documentation and use, Jonathan Kulp, 2009/05/13
- Re: [PATCH]Re: tempoMark - documentation and use, Trevor Daniels, 2009/05/13
- Re: tempoMark - documentation and use, Mats Bengtsson, 2009/05/12
- Re: tempoMark - documentation and use, Graham Percival, 2009/05/12
- Re: tempoMark - documentation and use,
Mats Bengtsson <=
- Re: tempoMark - documentation and use, Jonathan Kulp, 2009/05/12
Re: tempoMark - documentation and use, Carl D. Sorensen, 2009/05/10