On 3/17/11 5:04 PM, "Gilles THIBAULT" <[email protected]> wrote:
> Just a comment :
> If you use "format" instead of "fancy-format" it works too.
> fancy-format doen't seem to be part of guile, so only a function added by
> Lilypond. I found it in output-svg.scm defined as follow :
> (define fancy-format format)
> So it is exactly the same !
Look at the whole code:
(define fancy-format format)
(define format ergonomic-simple-format)
fancy-format becomes the name for the ice-9 format function.
format becomes the name for ergonomic-simple-format.
Look at scm/lily.scm:
(define-public fancy-format
format)
(define-public (ergonomic-simple-format dest . rest)
"Like ice-9's @code{format}, but without the memory consumption."
(if (string? dest)
(apply simple-format (cons #f (cons dest rest)))
(apply simple-format (cons dest rest))))
(define format
ergonomic-simple-format)
So you can see that format is redefined to be simple-format.
HTH,
Carl
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user