]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/c++.scm
Introduce void? predicate
[lilypond.git] / scm / c++.scm
index 74f58f4da3f4da2449535f0faf6ca1034c85dcd0..915e7e62830c07f635abcfc647fa666c57701879 100644 (file)
@@ -61,6 +61,9 @@
 (define-public (symbol-or-boolean? x)
   (or (symbol? x) (boolean? x)))
 
+(define-public (void? x)
+  (eq? x (begin)))
+
 ;; moved list to end of lily.scm: then all type-predicates are
 ;; defined.
 (define type-p-name-alist '())