Am 21.04.2015 um 14:44 schrieb Mattes:
Am Dienstag, 21. April 2015 14:23 CEST, Simon Albrecht <simon.albre...@mail.de> 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)))
Of course. It’s been a while since I wrote the code, and obviously I didn’t have the necessary understanding of scheme then…

Thanks for the hint :-)
Simon

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to