lilypond-devel
[Top][All Lists]
Advanced

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

Re: Remove unused event-type general-music (issue 222090043 by address@h


From: dak
Subject: Re: Remove unused event-type general-music (issue 222090043 by address@hidden)
Date: Sat, 04 Apr 2015 20:20:32 +0000

On 2015/04/04 16:17:20, david.nalesnik wrote:

Music is used.  For example, looking at what sort of object must be
produced by
\shape:

#(display (car (ly:music-function-signature shape)))

==>

(#<primitive-procedure ly:music?> . #<Prob: Music C++: Music((void .
#t))((name
. Music) (types general-music)) >
)

This patch would leave an empty entry for types.  That doesn't matter
here --
The predicate ly:music? works just fine.  I just wonder if there would
ever be
cause to recognize Music by its types, as for example, a engraver
would
recognize NoteEvent by note-event.

The usual way to recognize music types is by music-is-of-type? and the
name is not generally used except for subclassing.  Music would likely
not be interesting though.


https://codereview.appspot.com/222090043/



reply via email to

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