> Instead of
> #(define (anAList) `((aVariable . ,aSymbol)))
> you could write:
> #(define anAList (lambda () `((aVariable . ,aSymbol
Thanks Thomas. I love the simplicity of this example.
> #(define anAList '((aVariable . aSymbol)))
> aSymbol = { cis' }
> {
>#(module-ref (current-module)
On 2024-04-13 1:08 pm, Pierre-Luc Gauthier wrote:
But what about the parenthesised alist -> (alist) ‽
Difference between a variable containing an alist versus a *procedure*
that returns an alist. This defers the evaluation of aSymbol until such
time as it is defined.
Here is another
Am Sa., 13. Apr. 2024 um 22:09 Uhr schrieb Pierre-Luc Gauthier
:
> But what about the parenthesised alist -> (alist) ‽
>
> I have not found documentation here :
> https://extending-lilypond.gitlab.io/en/scheme/alists.html
> nor here :
>
Now what have you done to my hash character ‽
https://extending-lilypond.gitlab.io/en/extending/lily-and-scheme.html#hash-vs-dollar
oh, ok ok, I get it.
But what about the parenthesised alist -> (alist) ‽
I have not found documentation here :
Am Sa., 13. Apr. 2024 um 20:59 Uhr schrieb Pierre-Luc Gauthier
:
>
> Hello there,
>
> Quite an easy one I'm sure but I tried many combinations to no avail.
>
> I have this symbol that I wish to evaluate later. I thought that was
> what ly:make-music was for.
>
> \version "2.25.15"
>
> #(define
Hello there,
Quite an easy one I'm sure but I tried many combinations to no avail.
I have this symbol that I wish to evaluate later. I thought that was
what ly:make-music was for.
\version "2.25.15"
#(define anAList ((aVariable . aSymbol)))
aSymbol = {cis'}
{
#(cdr (assoc 'aVariable
examples of the use of the make-music function in NR and
>> Snippets, but I cannot find any reference to its definition in LR, NR
>> or IR. I can use the examples to do what I want, but I'd like to know
>> a bit more about how it works. Is there a definition of it and its
>>
Peter Toye writes:
> Thee are many examples of the use of the make-music function in NR and
> Snippets, but I cannot find any reference to its definition in LR, NR
> or IR. I can use the examples to do what I want, but I'd like to know
> a bit more about how it works. Is there
Thee are many examples of the use of the make-music function in NR and
Snippets, but I cannot find any reference to its definition in LR, NR or IR. I
can use the examples to do what I want, but I'd like to know a bit more about
how it works. Is there a definition of it and its parameters
Please, help me with my own music function creation.
How can I modify music object or create a new one with
existing music data and add sustain event to it?
If I understand correct, I must use make-music function and then use
(make-span-event 'SustainEvent START) call to generate sustain
On 1/12/09 2:07 AM, Gilles THIBAULT gilles.thiba...@free.fr wrote:
Please, help me with my own music function creation.
How can I modify music object or create a new one with
existing music data and add sustain event to it?
If I understand correct, I must use make-music function
Hello!
Please, help me with my own music function creation.
How can I modify music object or create a new one with
existing music data and add sustain event to it?
If I understand correct, I must use make-music function and then use
(make-span-event 'SustainEvent START) call to generate
12 matches
Mail list logo