Han-Wen Nienhuys writes:

> I have become convinced that optional, unnamed arguments are not a
> happy design decision, in any language. In Lily it's particularly
> problematic, since we don't group function parameters.

If we start doing this, that would solve the several of the issues
raised.  It would move a bit away from the `lets remove all red tape'
path that we (I?) embarked on previously.

There are two commonly used ways of grouping function parameters,
instead of

    \relative { a \parenthesize b c }

we could have something* like

    (relative { a (parenthesize b) c })
    relative ({a parenthesize (b) c})

I don't think there are easy ways to combine or drop ( and }, ie have
something like

   {relative a b c}
   foo = relative
   {foo a b c}

Or the C-style equivalents.

Jan

 () will probably not work of course because they're slur events

-- 
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar®  http://AvatarAcademy.nl  

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to