Am Mittwoch, 18. November 2015 12:10 CET, Andrew Bernard <andrew.bern...@gmail.com> schrieb: > > Hello Jacques, > > A slightly more idiomatic Scheme-like way to get the current file name being > processed might be something like this: > > #(define (file-name) > (let* ((args (program-arguments)) > (args-len (length args))) > (list-ref args (- args-len 1))))
Wouldn't that be equivalent to: (last (program-arguments)) :-) Cheers, RalfD _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user