]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-lib.scm
Issue 3177: Remove lily-and and lily-or
[lilypond.git] / scm / output-lib.scm
index bcb65588a4f576e89aafe33019940f3e4b998fa8..641ca7ce50abaf01162bd5881507b9229a8e3078 100644 (file)
 ;; side-position stuff
 
 (define-public (only-if-beamed g)
-  (reduce lily-or
-          #f
-          (map (lambda (x)
-                 (ly:grob? (ly:grob-object x 'beam)))
-               (ly:grob-array->list (ly:grob-object g
-                                                    'side-support-elements)))))
+  (any (lambda (x) (ly:grob? (ly:grob-object x 'beam)))
+       (ly:grob-array->list (ly:grob-object g 'side-support-elements))))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; note heads