[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lilypond scheme-sandbox
From: |
elmamyra |
Subject: |
Re: lilypond scheme-sandbox |
Date: |
Fri, 31 May 2013 03:08:24 -0700 (PDT) |
Daniel Cartron-2 wrote
> j'en ai oublié un bout :
>> guile> (av-btn '(2 6 0))
>> standard input:533:5: While evaluating arguments to filter in expression
>> (filter (lambda # #) kdb):
> standard input:523:7: Unbound variable: kdb
Sais-tu que tu peux afficher ce que tu veux dans la console de lilypond
grâce à la fonction "display"?
J'ai jamais trouvé pratique d'utiliser l'interpréteur en console.
Essaye avec ça dans un fichier lilypond:
#(define kdb
'(
( (4 0 0) . (1 1 2) )
( (6 0 0) . (2 1 2) )
( (0 1 0) . (1 1 3) )
( (0 1 0) . (2 1 3) )
)
)
#(define (av-btn ref)
(map cdr
(filter
(lambda (pair) (equal? (car pair) ref) )
kdb
)
)
)
#(display (av-btn '(0 1 0)))
--
View this message in context:
http://lilypond-french-users.1298960.n2.nabble.com/lilypond-scheme-sandbox-tp7579856p7579869.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.
- lilypond scheme-sandbox, Daniel Cartron, 2013/05/30
- Re: lilypond scheme-sandbox, Gilles, 2013/05/30
- Re: lilypond scheme-sandbox, Daniel Cartron, 2013/05/31
- Re: lilypond scheme-sandbox, elmamyra, 2013/05/31
- Re: lilypond scheme-sandbox, Daniel Cartron, 2013/05/31
- Re: lilypond scheme-sandbox, elmamyra, 2013/05/31
- Re: lilypond scheme-sandbox, Daniel Cartron, 2013/05/31
- Re: lilypond scheme-sandbox, Daniel Cartron, 2013/05/31
- Re: lilypond scheme-sandbox,
elmamyra <=
- Re: lilypond scheme-sandbox, Daniel Cartron, 2013/05/31
- Re: lilypond scheme-sandbox, elmamyra, 2013/05/31
- Re: lilypond scheme-sandbox, Daniel Cartron, 2013/05/31
- Re: lilypond scheme-sandbox, Daniel Cartron, 2013/05/31
- Re: lilypond scheme-sandbox, elmamyra, 2013/05/31