Jan-Peter Voigt <[email protected]> writes:

> Hello  Harm and list,

Could you try _not_ posting in HTML?  This mail had both a plain text as
well as an HTML-specified part, and both rendered awfully here.  If you
send just as plain text, chances are that you see what you are actually
sending.

> \version "2.15.38"
>
> % predicate for a number or a list of numbers
> #(define (number-or-list? v)
>
> (or (number? v)
>
> (and
>
> (list? v)
>
> (eval `(and ,@(map (lambda (x)`(number? ,x)) v))(interaction-environment))
>
> )))

What is the crazy idea with using eval?  Why don't you use

(every number? v) here?

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to