Hi Simon,

I also stumbled sometimes ove this behaviour, but I think it is not a "real" bug. If the parser has a list? predicate, it looks for dot-notation. But if it gets a custom predicate, it will not do so.
Am I right, David?
IIUC some predefined predicates (list?, string?, ly:duration?, ly:pitch?, ...) are handled in a special way to allow shorter input, but this is not "seen" by the parser, if they are wrapped in a custom predicate.

HTH
Jan-Peter


Am 08.07.14 13:39, schrieb Simon Albrecht:
The 2.18 changes document says that #'(Staff Accidental) and Staff.Accidental were now interchangeable, however if I replace it in the second function call, I get errors (unexpected "." etc.). Is there a way to avoid this in the coding of the function or should it be considered a bug?


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to