On Sat, Feb 19, 2011 at 6:24 PM, Graham Percival
<[email protected]> wrote:
>
> Wow. Brilliant work here:
> http://99-bottles-of-beer.net/language-lilypond-1351.html
Pretty cool! I wonder if the number lookups could be simplified with
the 'r' format spec?
(use-modules (ice-9 format))
(string-split (format #f "~r" 99) #\-) ==> ("ninety" "nine")
The syllabification alist would still be needed, of course.
Cheers,
Mike
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user