lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 2607 in lilypond: Patch: Allow immediate Schem


From: lilypond
Subject: Re: [Lilypond-auto] Issue 2607 in lilypond: Patch: Allow immediate Scheme expressions to take multiple values
Date: Tue, 19 Jun 2012 19:00:20 +0000

Updates:
        Labels: -Patch-review Patch-new

Comment #6 on issue 2607 by address@hidden: Patch: Allow immediate Scheme expressions to take multiple values
http://code.google.com/p/lilypond/issues/detail?id=2607#c6

Issue 2607: Allow immediate Scheme expressions with splicing and multiple values

$xxx has been able to interpret 0-valued expressions (namely
SCM_UNSPECIFIED) so far by, well, not interpolating anything.

This change allows it to interpret multi-valued expressions by
returning multiple tokens, allowing things like

{ < $(apply values (map (lambda (i) (ly:make-pitch 0 i 0)) (iota 8))) > }

to work as intended, by creating a chord enclosing all 8 pitches.

In addition, in analogy to the unquote-splicing operator ,@ the form

{ < $@(map (lambda (i) (ly:make-pitch 0 i 0)) (iota 8)) > }

is provided for interpolating a list of Scheme expressions into the
token stream.

http://codereview.appspot.com/6295098




reply via email to

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