lilypond-user
[Top][All Lists]
Advanced

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

Re: LSR updates: was: polychords: a working solution


From: David Nalesnik
Subject: Re: LSR updates: was: polychords: a working solution
Date: Tue, 21 Feb 2012 09:12:40 -0600

David,

On Mon, Feb 20, 2012 at 5:01 AM, David Kastrup <address@hidden> wrote:
Thomas Morley <address@hidden> writes:

> 2012/2/19 David Kastrup <address@hidden>:

> Furthermore, I realized, that there seems to be no conversion rule for
> the following 2.12.3-definitions:
>
> From 2.12.3:  \scm\lily-library.scm
>
>    (define (interval-translate iv amount)
>      (cons (+ amount (car iv))
>       (+ amount (cdr iv))))

It's used in snippets?  Ugh.  Probably easiest to put that back in and
document it, then.  Is there a known replacement?


This function is found in 2.14.2 in \scm\lily-library.scm and could work:

 (define (cons-map f x)
  "map F to contents of X"
  (cons (f (car x)) (f (cdr x))))

But any need for this or interval-translate is restricted to one line of the snippet, so maybe it would be better simply to expand that line?

-David



reply via email to

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