https://codereview.appspot.com/8165043/diff/2001/ly/event-listener.ly File ly/event-listener.ly (right):
https://codereview.appspot.com/8165043/diff/2001/ly/event-listener.ly#newcode69 ly/event-listener.ly:69: (eq? 0 (ly:moment-grace-numerator moment)) On 2013/03/29 19:21:31, janek wrote:
Out of curiosity (my knowledge about Scheme is poor): what's the
difference
between 'zero?' and 'eq? 0' ? Is 'eq? 0'? better in some way?
eq? 0 will not complain if the compared value is not a number. It also is undefined code since (eq? 0 0) is not guaranteed by the Scheme standard. Better use zero? here. https://codereview.appspot.com/8165043/ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel