[EMAIL PROTECTED] writes:
> 
> When a pattern is encountered a few times, it is common pratice to
> write a macro that will expand to that pattern. For instance:
> 
> and there are several other occurences of that pattern. There could be
> something that will allow to write, for instance:
> 
> 
> which imho improves readability.
> Although that's not purely stylistic, are you interested in such
> changes?

I'm ambivalent. The danger is that the number of functions to create
and manipulate data structures explodes, and becomes harder to
learn. We have to find a balance between having a small "interface"
and an interface that is ultra-ergonomic to use. For the above case, I
think make-music-by-name-and-props and is useful, althouh I oppose of
the name. Why not have

      make-music-by-name

take an optional alist or list  of init values?


-- 

 Han-Wen Nienhuys   |   [EMAIL PROTECTED]   |   http://www.xs4all.nl/~hanwen 



_______________________________________________
Lilypond-devel mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to