X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=scm%2Fc%2B%2B.scm;h=1978c5244728c0f77efc216739c7dec6eec0907b;hb=a3d4c69504aaaa101150e15db1459aa976af7597;hp=d9ac2d5339e07a27a94773e4fc3be5dc05d96cb2;hpb=899a5926b98860f3d5db399616d9211927fbfa3c;p=lilypond.git diff --git a/scm/c++.scm b/scm/c++.scm index d9ac2d5339..1978c52447 100644 --- a/scm/c++.scm +++ b/scm/c++.scm @@ -2,7 +2,7 @@ ;;;; ;;;; source file of the GNU LilyPond music typesetter ;;;; -;;;; (c) 1998--2002 Jan Nieuwenhuizen +;;;; (c) 1998--2004 Jan Nieuwenhuizen ;;;; Han-Wen Nienhuys ;;; Note: this file can't be used without LilyPond executable @@ -30,45 +30,17 @@ (define-public (number-or-string? x) (or (number? x) (string? x))) -(define-public (markup? x) - (or (string? x) (list? x))) - (define-public (scheme? x) #t) + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; -(define type-p-name-alist - `( - (,ly:dir? . "direction") - (,scheme? . "any type") - (,number-pair? . "pair of numbers") - (,ly:input-location? . "input location") - (,ly:grob? . "grob (GRaphical OBject)") - (,grob-list? . "list of grobs") - (,ly:duration? . "duration") - (,pair? . "pair") - (,integer? . "integer") - (,list? . "list") - (,symbol? . "symbol") - (,string? . "string") - (,boolean? . "boolean") - (,ly:moment? . "moment") - (,ly:input-location? . "input location") - (,music-list? . "list of music") - (,ly:music? . "music") - (,number? . "number") - (,char? . "char") - (,input-port? . "input port") - (,output-port? . "output port") - (,vector? . "vector") - (,procedure? . "procedure") - (,boolean-or-symbol? . "boolean or symbol") - (,number-or-string? . "number or string") - (,markup? . "markup (list or string)") - (,number-or-grob? . "number or grob") - )) +;; moved list to end of lily.scm: then all type-predicates are +;; defined. +(define type-p-name-alist '()) (define (match-predicate obj alist) (if (null? alist)