* scm/lily-library.scm (nan?, inf?): Move guile 1.6 compatibility
layer for inf? and nan? from framework-ps to lily-library.
+2006-02-26 Nicolas Sceaux <nicolas.sceaux@free.fr>
+
+ * scm/framework-ps.scm:
+ * scm/lily-library.scm (nan?, inf?): Move guile 1.6 compatibility
+ layer for inf? and nan? from framework-ps to lily-library.
+
2006-02-26 Han-Wen Nienhuys <hanwen@xs4all.nl>
* buildscripts/substitute-encoding.py (Module): remove file.
(postprocess-output book framework-ps-module filename
(ly:output-formats))))
-(if (not (defined? 'nan?))
- (define (nan? x) #f))
-
-(if (not (defined? 'inf?))
- (define (inf? x) #f))
-
(define-public (dump-stencil-as-EPS paper dump-me filename load-fonts?)
(define (mm-to-bp-box mmbox)
(let* ((scale (ly:output-def-lookup paper 'output-scale))
(cons (cons (car coords) (cadr coords))
(ly:list->offsets accum (cddr coords)))))
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; numbers
+
+(if (not (defined? 'nan?)) ;; guile 1.6 compat
+ (define-public (nan? x) #f))
+
+(if (not (defined? 'inf?))
+ (define-public (inf? x) #f))
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; intervals