Urs Liska <[email protected]> writes:
> UsageTest.ly:13:4: In expression ((#<procedure embedded-lilypond #>
> parser " \\writeScoreOddEven #1 \\score { $score } " ...)):
>
> /home/uliska/Github/openLilyLib/OLLincludes/compilationTools/writeScoreOddEven-
> UsageTest.ly:13:4: Wrong type to apply: #<unspecified>
> Exited with return code 1
>
> Is there something wrong with my calling syntax?
Yes. You really have to break the habit of adding or removing parens
where you feel they make things prettier.
Scheme has no concept of redundant parentheses like C or Pascal.
_Every_ layer of parentheses creates a new list, or a new function call.
So (#{ ... #}) only makes sense when #{ ... #} actually returns a
_function_, and you want to call that function. But in this case, it
does not return anything.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user