lilypond-user
[Top][All Lists]
Advanced

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

output some string


From: Gianmaria Lari
Subject: output some string
Date: Fri, 15 Jun 2018 18:40:31 +0200

I'm trying to write some code in scheme. At the moment I do it using frescobaldi and I need some help for the output.
The following code

\version "2.19.81"
#(define (f w) w)
$(f "Hello")

generates a pdf file containing "Hello". 

If my function f is called passing something that is not a string like in the following code

\version "2.19.81"
#(define (f w) w)
$(f '(a b c))

it doesn't work. How can I convert my data to a string?

Thank you, g.
P.S. I have been able to write in the Lilypond log using  #(define (f w) (write w))...

reply via email to

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