Le mardi 09 mai 2023 à 08:14 +, Werner LEMBERG a écrit :
> Yes, evaluated, sorry.
It is evaluated when baz is executed.
```
(define (foo bar)
(define (baz)
(if bar "yes" "no"))
(set! bar #t)
(baz))
(foo #f) ⇒ "yes"
```
signature.asc
Description: This is a digitally signed mess
>>
>> D'oh, this should be
>>
>> ```
>> (define (foo bar)
>> (define (baz)
>> ...
>> (if bar) ; Is 'bar' visible here? If yes, when is
>> ... ; 'bar' expanded? At the time 'baz' is
>> ; defined? At the time 'baz' is executed?
>> ```
>
> I do
On 5/9/23 03:22, Jean Abou Samra wrote:
Le lundi 08 mai 2023 à 22:55 -0400, dfro a écrit :
Jean,
I think \translate-scaled will work for me! This is a wonderful
tool. In the following example, \concat allows me to get the symbols
closer together. The -.2 values for x in /translate-scaled o
On 5/9/23 03:22, Jean Abou Samra wrote:
Le lundi 08 mai 2023 à 22:55 -0400, dfro a écrit :
Jean,
I think \translate-scaled will work for me! This is a wonderful
tool. In the following example, \concat allows me to get the symbols
closer together. The -.2 values for x in /translate-scaled o
Le lundi 08 mai 2023 à 22:55 -0400, dfro a écrit :
>
> Jean,
>
> I think \translate-scaled will work for me! This is a wonderful tool. In the
> following example, \concat allows me to get the symbols closer together. The
> -.2 values for x in /translate-scaled on the third \markup example d
Le mardi 09 mai 2023 à 04:26 +, Werner LEMBERG a écrit :
>
> D'oh, this should be
>
> ```
> (define (foo bar)
> (define (baz)
> ...
> (if bar) ; Is 'bar' visible here? If yes, when is
> ... ; 'bar' expanded? At the time 'baz' is
> ; defin
> BTW, I suggest to cover one more issue with local variables, namely
> whether arguments to a function are seen in sub-functions, which are
> IMHO a very good addition to `let` and `let*` to write clean and
> readable code – often much more readable than anonymous lambda
> expressions.
>
> Examp
> Second, you need to use `let` here, not `define`. See
>
> https://extending-lilypond.gitlab.io/en/scheme/local-variables.html
BTW, I suggest to cover one more issue with local variables, namely
whether arguments to a function are seen in sub-functions, which are
IMHO a very good addition to `l
On 5/8/23 21:06, Jean Abou Samra wrote:
Le lundi 08 mai 2023 à 20:55 -0400, dfro a écrit :
Fellow music engravers,
I have a feature request. Perhaps, this has been discussed already.
Sometimes, I would like the spacial formatting in a \markup command
to respond to changes in fontsize, so th
Le lundi 08 mai 2023 à 20:55 -0400, dfro a écrit :
> Fellow music engravers,
>
> I have a feature request. Perhaps, this has been discussed already.
>
> Sometimes, I would like the spacial formatting in a \markup command to
> respond to changes in fontsize, so that all of the \markup spacing wil
Fellow music engravers,
I have a feature request. Perhaps, this has been discussed already.
Sometimes, I would like the spacial formatting in a \markup command to
respond to changes in fontsize, so that all of the \markup spacing will
change proportional to the change in fontsize. I think havi
11 matches
Mail list logo