I'm trying to factor out common code in some music functions. Below is a
fragment of the code illustrating my problem. It's been years since I've used
Lisp so please appreciate the naivety in this question.
I want to do a computation at the call and pass the result as an argument to
a function
On Fri, Feb 25, 2011 at 9:20 AM, Peter Buhr pab...@sympatico.ca wrote:
specialB = #(define-music-function (parser location suffix) (string?)
#{
\base (concat XXX $suffix) #$suffix % DOES NOT WORK
#})
Hi Peter,
I think the following does what you're looking for.
specialB =