On Wed, Mar 4, 2015 at 3:49 PM, Mattes <r.mat...@mh-freiburg.de> 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 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: > > > http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Procedure-Properties.html > > but, I see nothing to return an argument list. > > Hmm, procedure-properties will give you some info, try: > > (cdr (assoc 'arity (procedure-properties open))) > Yup, but I actually want the names for documentation purposes. > > > How would I go about doing > > this? > > I doubt that guile (> 2.0) keeps track of the formal parameter names. > > That's too bad :( --David
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user