Olivier Biot <[email protected]> writes:

>     Well, putting { ... } around it is wrong, for one thing: it turns
>     the
>     whole into sequential music.
>
> Bingo!
>
> This is the most counterintuitive syntactic element in LilyPond for
> newcomers (after Scheme). In most programming languages, curly braces
> are used for grouping commands, in LilyPond curly braces have a double
> life and can be used in one of their shapes as a shorthand for "define
> serial music" (as opposed to "define parallel music" which is done
> with double angle brackets. The double meaning of the curly braces in
> LilyPond is rather confusing and I still have the impression at times
> that things seem to work out of sheer luck when using curly braces.
>
> Is this double meaning of curly braces documented somewhere? I did not
> come across it in the online manuals so far.

What double life?  Within music, curly braces create sequential music.
What other meaning do you see?

-- 
David Kastrup

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

Reply via email to