lilypond-user
[Top][All Lists]
Advanced

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

Re: How to get predicates from markup-commands?


From: David Kastrup
Subject: Re: How to get predicates from markup-commands?
Date: Sun, 06 Dec 2015 19:09:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Thomas Morley <address@hidden> writes:

> Hi all,
>
> as an example I use the markup-command `with-color', which is defined
> as (pseude-code)
>
> (define-markup-command (with-color layout props color arg)
>   (color? markup?)
>   #:category other
>   "DOC-STRING"
>   <body>
> )
>
> I can quite easily display:
> (display (procedure-source with-color-markup))
> though I'm interested in the predicates, i.e. (color? markup?)
>
> Is there any way?

(markup-command-signature with-color-markup)

-- 
David Kastrup



reply via email to

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