Aaron Hill <lilyp...@hillvisions.com> writes: > On 2023-12-12 1:04 pm, David Kastrup wrote: >> Aaron Hill <lilyp...@hillvisions.com> writes: >>> %%%% >>> #(define (add-midi-to-score score) >>> (define (has-midi? score) >>> (any (lambda (x) (ly:output-def-lookup x 'is-midi)) >> Wouldn't that need to be (ly:output-def-lookup x 'is-midi #f) ? > > The default is to return '() which I thought was falsey.
In LISP it would be. In Scheme, it isn't. `any' is a Scheme function. -- David Kastrup