Mon, 17 May 2004 12:33:31 -0600, Carl a dit : 

 > Attached is a copy of the latest fret diagram markup function. [...]

The following remarks are purely stylistic. You may want to:

 - use hyphens in variable and function names, eg subtract-base-fret
   instead of subtractbasefret;

 - use less generic names, eg parse-fret-string or fret-parse-string
   or fret:parse-string instead of parsestring;

 - not leave parentheses alone on a line, all closing parens should
   put together at the end of an expression.

Maybe `format' (the one borrowed from Common Lisp) can do the job
of `integer->roman'.

guile> (integer->roman 23)
"xxiii"
guile> (use-modules (ice-9 format))
guile> (format #f "~(~:@r~)" 23)
"xxiii"

~:@r means write roman number, and ~(...~) means lowercase. See:
http://www.gnu.org/software/guile/docs/guile-ref/Formatted-Output.html

nicolas



_______________________________________________
lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to