Re: Discern post-event in music function

2017-04-20 Thread David Kastrup
Simon Albrecht writes: > Am 20.04.2017 um 17:25 schrieb caag...@gmail.com: >> There's a `post-event?` predicate defined in >> scm/define-music-display-methods.scm. I don't think that one's >> easily accessible outside that module, but you can copy it: >> >> (define

Re: Discern post-event in music function

2017-04-20 Thread caagr98
You could just do (let ((post (music-is-of-type? e 'post-event))) (stuff)). No point in creating a lambda for it. On 04/20/17 17:43, Simon Albrecht wrote: Am 20.04.2017 um 17:25 schrieb caag...@gmail.com: There's a `post-event?` predicate defined in scm/define-music-display-methods.scm. I

Re: Discern post-event in music function

2017-04-20 Thread Simon Albrecht
Am 20.04.2017 um 17:25 schrieb caag...@gmail.com: There's a `post-event?` predicate defined in scm/define-music-display-methods.scm. I don't think that one's easily accessible outside that module, but you can copy it: (define (post-event? m) (music-is-of-type? m 'post-event)) Here’s the

Re: Discern post-event in music function

2017-04-20 Thread Simon Albrecht
Am 20.04.2017 um 17:25 schrieb caag...@gmail.com: (define (post-event? m) (music-is-of-type? m 'post-event)) That’s reasonably simple :-) Thanks, Simon ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Discern post-event in music function

2017-04-20 Thread caagr98
There's a `post-event?` predicate defined in scm/define-music-display-methods.scm. I don't think that one's easily accessible outside that module, but you can copy it: (define (post-event? m) (music-is-of-type? m 'post-event)) On 04/20/17 16:59, Simon Albrecht wrote: Hello, I currently