lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paper size survey


From: Mattes
Subject: Re: Paper size survey
Date: Tue, 21 Apr 2015 14:44:05 +0200
User-agent: SOGoMail 2.2.16

Am Dienstag, 21. April 2015 14:23 CEST, Simon Albrecht <address@hidden> schrieb:

> ... Yet I have taken inspiration from there to create the
> attached tool for making nice margins, which I’ve been using ever since.
>

Hmm, maybe I miss the obvious, but in your code:

 (define pair-or-rational? (or pair? rational?))

you might as well write (define pair-or-rational? pair?) since (or pair? 
rational?) allways evaluates to
pair? ...
Do you want

 (define pair-or-rational? (thing)
    (or
       (pair? thing)
       (rational? thing)))


Cheers, Ralf Mattes









reply via email to

[Prev in Thread] Current Thread [Next in Thread]