bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1780 in lilypond: Scheme format functions with no destination


From: lilypond
Subject: Re: Issue 1780 in lilypond: Scheme format functions with no destination parameter cause deprecation warnings in Guile V2
Date: Wed, 27 Jul 2011 14:44:35 +0000


Comment #3 on issue 1780 by address@hidden: Scheme format functions with no destination parameter cause deprecation warnings in Guile V2
http://code.google.com/p/lilypond/issues/detail?id=1780

Uh, stupid question.  Right now I discovered in lily.scm

(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)

Wouldn't that provide #f on demand anyway?  So where was the point?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]