X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fc%2B%2B.scm;h=badac67e5ca6f3a5ba3613edf46747b191ecbc38;hb=90c11af7470dbc11c7339895caf7b3fe2c2dcc46;hp=ec54ed28c9ebb9c57542154356958d14acd30fce;hpb=9f909143a605a677787915e5dcce5dbc48f2211c;p=lilypond.git diff --git a/scm/c++.scm b/scm/c++.scm index ec54ed28c9..badac67e5c 100644 --- a/scm/c++.scm +++ b/scm/c++.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 1998--2012 Jan Nieuwenhuizen +;;;; Copyright (C) 1998--2015 Jan Nieuwenhuizen ;;;; Han-Wen Nienhuys ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify @@ -54,6 +54,9 @@ (and (pair? x) (ly:moment? (car x)) (ly:moment? (cdr x)))) +(define-public (boolean-or-number? x) + (or (boolean? x) (number? x))) + (define-public (boolean-or-symbol? x) (or (boolean? x) (symbol? x))) @@ -93,8 +96,6 @@ (define-public (scheme? x) #t) -(define-public (symbol-or-boolean? x) - (or (symbol? x) (boolean? x))) (define-public (void? x) (unspecified? x))