Thank you for your explanation and your links, now it works!

Le jeu. 1 févr. 2024, 12:05, Jean Abou Samra <j...@abou-samra.fr> a écrit :

> Try
>
> #(define (should-not-print-arranger layout props)
>    (equal? "" (chain-assoc-get 'header:arranger props)))
>
> For one thing, 'header:arranger just gives a symbol
> <https://extending-lilypond.gitlab.io/en/scheme/quoting.html>, it doesn't
> look up the arranger. A symbol is never equal to a string. For another,
> eq? is the wrong test; it checks object identity
> <https://extending-lilypond.gitlab.io/en/scheme/quoting.html#identity-of-symbols>
> but you could have two empty strings which are equal but not the same
> object (unlike symbols). The links should provide more information.
>
> Best,
>
> Jean
>
  • How to François Bastien
    • Re: How to Jean Abou Samra
      • Re: How to François Bastien

Reply via email to