|
From: | Jean Abou Samra |
Subject: | Re: How to |
Date: | Thu, 01 Feb 2024 12:05:14 +0100 |
User-agent: | Evolution 3.50.3 (3.50.3-1.fc39) |
Try
#(define (should-not-print-arranger layout props)
(equal? "" (chain-assoc-get 'header:arranger props)))
For one thing, 'header:arranger
just gives a symbol, 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 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
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] | Current Thread | [Next in Thread] |