Le 3 sept. 09 à 10:47, Valentin Villenave a écrit :
On Fri, Jul 24, 2009 at 10:51 AM, Nicolas Sceaux> wrote:
%% UNTESTED!
includeList =
#(define-music-function (parser location variable-names) (list?)
(make-sequential-music
(map (lambda (variable-name)
(let ((music (ly:parser-lookup
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am Donnerstag, 3. September 2009 13:15:33 schrieb Valentin Villenave:
> What got me confused here is that in
> http://lsr.dsi.unimi.it/LSR/Item?id=630 I thought Nicolas actually
> created header texts instead of standalone markups.
Yes, Nicolas uses n
On Thu, Sep 3, 2009 at 11:29 AM, Reinhold
Kainhofer wrote:
> You have to use let* instead of let. With let* the definitions are evaluated
> in
> the given order and can depend on each other. With let, you cannot use one of
> the variables in the value of another.
Oh, thanks. Actually there was so
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am Donnerstag, 3. September 2009 11:29:48 schrieb Reinhold Kainhofer:
> > - how can I add a \header block for each \score produced
>
> In the OrchestralLily package (http://www.repo.or.cz/w/orchestrallily.git),
> I'm using this to assign a piece name t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am Donnerstag, 3. September 2009 10:47:52 schrieb Valentin Villenave:
> - why does scorify-music fail here?
>
> includeList =
> #(define-music-function (parser location variable-names) (list?)
> (map (lambda (variable-name)
> (let ((music (m
On Fri, Jul 24, 2009 at 10:51 AM, Nicolas Sceaux wrote:
> %% UNTESTED!
> includeList =
> #(define-music-function (parser location variable-names) (list?)
> (make-sequential-music
> (map (lambda (variable-name)
> (let ((music (ly:parser-lookup parser (string->symbol
> variable-name
>
2009/7/24 Nicolas Sceaux :
> And `for-each' does not return a list, you want `map' here.
Of course I do! Silly me.
Thanks for your patience :-)
Regards,
Valentin
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listi
Le 24 juil. 09 à 10:37, Valentin Villenave a écrit :
musicOne = { c''' }
musicTwo = { c, }
#(define mylist (list "musicOne" "musicTwo"))
includeList =
#(define-music-function (parser location listname) (string?)
(make-sequential-music (for-each
(lambda (x)
(let ((music (ly:parser-lo
2008/12/19 Nicolas Sceaux :
> Your function does not work as you expect because it just returns an
> empty SequentialMusic. Only the return value of the music function gets
> "inserted" in the current music. Read scm/parser-ly-from-scheme.scm,
> function parse-string-result.
Hi Nicolas, and everyb
Le 19 déc. 08 à 14:12, Valentin Villenave a écrit :
Greetings Nicolas, hi everybody,
can someone tell me why the following snippet doesn't work?
(It's heavily based on Nicolas' functions -- and looked sooo
promising...)
%%%
#(use-modules (ice-9 format))
toto = { c d c d }
includev
Greetings Nicolas, hi everybody,
can someone tell me why the following snippet doesn't work?
(It's heavily based on Nicolas' functions -- and looked sooo promising...)
%%%
#(use-modules (ice-9 format))
toto = { c d c d }
includevar=
#(define-music-function (parser location name) (string
11 matches
Mail list logo