Re: checking grob type

2017-03-17 Thread David Kastrup
David Nalesnik writes: > On Fri, Mar 17, 2017 at 9:50 AM, Paul wrote: >> cc'ing lilypond-devel to move discussion there. >> >> On 03/17/2017 09:38 AM, David Nalesnik wrote: >> >>> You can get more info about public functions with the attached

Re: checking grob type

2017-03-17 Thread David Nalesnik
On Fri, Mar 17, 2017 at 9:50 AM, Paul wrote: > cc'ing lilypond-devel to move discussion there. > > On 03/17/2017 09:38 AM, David Nalesnik wrote: > >> You can get more info about public functions with the attached file. >> I was planning on getting documentation into the

Re: checking grob type

2017-03-17 Thread Paul
cc'ing lilypond-devel to move discussion there. On 03/17/2017 09:38 AM, David Nalesnik wrote: You can get more info about public functions with the attached file. I was planning on getting documentation into the manuals somehow, but I got hung up with getting the parameters of curried

Re: checking grob type

2017-03-17 Thread David Nalesnik
On Fri, Mar 17, 2017 at 8:38 AM, David Nalesnik wrote: > Hi, > > On Fri, Mar 17, 2017 at 7:18 AM, Urs Liska wrote: >> Hi Paul, >> >> >> Am 17.03.2017 um 13:12 schrieb Paul: >>> On 03/17/2017 07:37 AM, Urs Liska wrote: >>> I order to check

Re: checking grob type

2017-03-17 Thread David Nalesnik
Hi, On Fri, Mar 17, 2017 at 7:18 AM, Urs Liska wrote: > Hi Paul, > > > Am 17.03.2017 um 13:12 schrieb Paul: >> On 03/17/2017 07:37 AM, Urs Liska wrote: >> >>> I order to check arguments for its type I've written this shorthand >>> function: >>> >>> #(define (grob-type? grob

Re: checking grob type

2017-03-17 Thread Urs Liska
Hi Paul, Am 17.03.2017 um 13:12 schrieb Paul: > On 03/17/2017 07:37 AM, Urs Liska wrote: > >> I order to check arguments for its type I've written this shorthand >> function: >> >> #(define (grob-type? grob name) >> (eq? name (assq-ref (ly:grob-property grob 'meta) 'name))) >> >> which of

Re: checking grob type

2017-03-17 Thread Paul
On 03/17/2017 07:37 AM, Urs Liska wrote: I order to check arguments for its type I've written this shorthand function: #(define (grob-type? grob name) (eq? name (assq-ref (ly:grob-property grob 'meta) 'name))) which of course does what it's supposed to. But I wonder if there's a more

checking grob type

2017-03-17 Thread Urs Liska
I order to check arguments for its type I've written this shorthand function: #(define (grob-type? grob name) (eq? name (assq-ref (ly:grob-property grob 'meta) 'name))) which of course does what it's supposed to. But I wonder if there's a more straightforward way, e.g. a built-in function