> "D" == David Nalesnik:
D> I don't understand what is happening when I attempt to define the
D> macro in the LY file, though.
This is a bug coming from use'ing (ice-9 syncase) - which guile-1.8
depends on for access to syntax-rules & friends - in lilypond.
Despite the error the comp
Hi Anders,
On Thu, Mar 5, 2015 at 1:42 PM, wrote:
> > "D" == David Nalesnik writes:
>
> D> What you are suggesting seems to be analogous to what is already
> D> done for the functions on the Scheme functions documentation page
> D> I referenced earlier.
>
> Ah, but you've got all
Hi Anders,
On Thu, Mar 5, 2015 at 1:42 PM, wrote:
>
>
> 'procedure-source will return the body of any defined function, then
> just grab the cadr of this to get the lambda-list:
Very true!
Thanks,
David
___
lilypond-user mailing list
lilypond-user@gn
> "M" == Mattes writes:
M> I doubt that guile (> 2.0) keeps track of the formal parameter
M> names.
If you're referring to the lambda-list of a procedure, i would be very
surprised if guile didn't.
Cheers,
-anders
___
lilypond-user mai
> "D" == David Nalesnik writes:
D> What you are suggesting seems to be analogous to what is already
D> done for the functions on the Scheme functions documentation page
D> I referenced earlier.
Ah, but you've got all you need there already it seems.
'procedure-source will return
Hi Anders,
On Thu, Mar 5, 2015 at 2:47 AM, wrote:
[...]
If you've got access to the actual scheme-code where the definitions
> takes place it should be possible to use rewrite macros.
>
> Something along the lines below would give you a table (an ordinary list
> here) 'procargstable keeping the
b::has-interface and grob::name) are in
scm/output-lib.scm. There may be others in other files. In that file it's
all "define-public" (no specialized macros).
Cheers,
-Paul
--
View this message in context:
http://lilypond.1069038.n5.nabble.com/getting-the-argument-list-of-a-proc
Hi David.
D> However, this feels a little hacky to me, and I'm hoping that
D> there's some better technique available to get at the names
D> assigned to the arguments.
If you've got access to the actual scheme-code where the definitions
takes place it should be possible to use rewrite
On Wed, Mar 4, 2015 at 3:49 PM, Mattes wrote:
>
> Am Mittwoch, 04. März 2015 22:35 CET, David Nalesnik <
> david.nales...@gmail.com> schrieb:
>
> > Hi list,
> >
> > I would like to be able to return the argument list of a Scheme function,
> > say as a list of symbols. So, for example, in the cas
Hi Orm,
On Wed, Mar 4, 2015 at 3:54 PM, Orm Finnendahl <
orm.finnend...@selma.hfmdk-frankfurt.de> wrote:
> Dear David,
>
> Am Mittwoch, den 04. März 2015 um 15:35:46 Uhr (-0600) schrieb David
> Nalesnik:
> >
> > I would like to be able to return the argument list of a Scheme function,
> > say as
Dear David,
Am Mittwoch, den 04. März 2015 um 15:35:46 Uhr (-0600) schrieb David Nalesnik:
>
> I would like to be able to return the argument list of a Scheme function,
> say as a list of symbols.
I'm not sure I understand what exactly you're looking for. In scheme,
you can assign a name to all
Am Mittwoch, 04. März 2015 22:35 CET, David Nalesnik
schrieb:
> Hi list,
>
> I would like to be able to return the argument list of a Scheme function,
> say as a list of symbols. So, for example, in the case of
> grob-interpret-markup, I would like to retrieve '(grob text). There are a
>
Hi list,
I would like to be able to return the argument list of a Scheme function,
say as a list of symbols. So, for example, in the case of
grob-interpret-markup, I would like to retrieve '(grob text). There are a
number of functions for determining information about procedures listed
here:
ht
13 matches
Mail list logo