[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use functions within functions
From: |
David Kastrup |
Subject: |
Re: Use functions within functions |
Date: |
Tue, 08 Jan 2013 12:09:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Noeck <address@hidden> writes:
> Hi,
>
> how can I use a self-defined function with in another one?
>
> I tried the following pseudo-code, but then myfunc is no valid function
> name in the scope of the second function.
>
>
> ------ly-file-------------------------------
>
> #(… scheme function definition of function myfunc …)
>
>
> #(… function-head …
> #{ … lilypond-code … #(myfunc arg) … #}
>
> ------end-ly-file---------------------------
Sigh. How are we supposed to guess what "scheme function definition" or
"function-head" is supposed to mean?
Could you please provide an example that you would have expected to work
rather than one which is going to fail no matter what?
--
David Kastrup