On Sat, May 12, 2012 at 1:39 PM, David Kastrup <[email protected]> wrote:
> I don't really understand the function, but maybe something like > > (define (build-pos-list len on off) > (let helper ((lst '()) (next 0) (on on) (off off)) > (if (< next len) > (helper (cons next lst) (+ next on) off on) > (reverse! lst (list len))))) > > will do. No idea whether this should have an even number of elements > always or not. Thank you, David. This works like a charm! -David N.
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
