[Top][All Lists]

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

Re: Working on issue 665, how to proceed?

From: Thomas Morley
Subject: Re: Working on issue 665, how to proceed?
Date: Sun, 17 Nov 2019 16:19:44 +0100

Am So., 17. Nov. 2019 um 15:44 Uhr schrieb Thomas Morley

> And there is and xml-library.scm as well.

Please always obtain a 80-characters-line-width.
In you give an optional string?-argument and convert to
symbol later, why not directly?
I'd use `formatĀ“ instead of string-append.
So my suggestion would be:

musicxml =
#(define-void-function (parser location type music)
  ((symbol? 'dtd) ly:score-or-music?)
  (_i "Print a file with the musicxml representation of @var{music} ")
       (format #f "~a~a.xml"
         (ly:parser-output-name parser)
         (if (ly:score? music) "-score" ""))
       (lambda (port) (write-musicxml music port type))))


reply via email to

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