[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Roman numerals in my number sequence
From: |
Carl Sorensen |
Subject: |
Re: Roman numerals in my number sequence |
Date: |
Thu, 17 Mar 2011 19:51:07 -0600 |
On 3/17/11 5:04 PM, "Gilles THIBAULT" <address@hidden> 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
- Roman numerals in my number sequence, Adam Good, 2011/03/16
- Re: Roman numerals in my number sequence, Carl Sorensen, 2011/03/16
- Re: Roman numerals in my number sequence, Adam Good, 2011/03/17
- Re: Roman numerals in my number sequence, Dmytro O. Redchuk, 2011/03/17
- Re: Roman numerals in my number sequence, Adam Good, 2011/03/17
- Re: Roman numerals in my number sequence, Adam Good, 2011/03/17
- Re: Roman numerals in my number sequence, Carl Sorensen, 2011/03/17
- Re: Roman numerals in my number sequence, Gilles THIBAULT, 2011/03/17
- Re: Roman numerals in my number sequence, Carl Sorensen, 2011/03/17
- Re: Roman numerals in my number sequence,
Carl Sorensen <=
- Re: Roman numerals in my number sequence, Gilles THIBAULT, 2011/03/18