Patrick McCarty <pnor...@gmail.com> writes: > Thanks, pushed.
Thanks. The only caller (this is apparently in local namespace) as far as I can see is (define-public (fret-number-tablature-format string context event) (let* ((tuning (ly:context-property context 'stringTunings)) (pitch (ly:event-property event 'pitch)) (is-harmonic (apply functional-or (map (lambda (ev) (eq? 'harmonic-event (ly:event-property ev 'class))) (ly:event-property event 'articulations))))) And that would likely be better written as (is-harmonic (memq 'harmonic-event (map (lambda (ev) (ly:event-property ev 'class)) (ly:event-property event 'articulations))) It still suffers from not doing short-circuit evaluation. For readability and efficiency, I'd really prefer replacing '(apply functional-or' with '(any' -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel