David,

On Mon, Feb 20, 2012 at 5:01 AM, David Kastrup <d...@gnu.org> wrote:
> Thomas Morley <thomasmorle...@googlemail.com> writes:
>
> > 2012/2/19 David Kastrup <d...@gnu.org>:
>
> > 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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to