Urs Liska <[email protected]> writes:

>>>        (set! counter (1+ counter))
>
> And it must be
>
>   (set! counter (+ 1 counter))
>
> (first the procedure "+", then the arguments)

Have you tried?  1+ is defined as a function taking one argument.
Scheme has a lot less restrictions on identifier names than some other
programming languages.

-- 
David Kastrup

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

Reply via email to