[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile twice with different includes
From: |
David Kastrup |
Subject: |
Re: Compile twice with different includes |
Date: |
Fri, 15 Feb 2013 12:39:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Urs Liska <address@hidden> writes:
> Am 15.02.2013 12:18, schrieb Jan-Peter Voigt:
>
> Am 15.02.2013 11:40, schrieb Urs Liska:
> You can create an adhoc-book in scheme with a #{-#} construct:
>
> writeScoreOddEven =
>
> #(define-void-function (parser location score)
>
> (ly:score?)
>
> (let ((book #{ \book { \score { $score } } #}))
>
> ; process with first-number 1
>
> Unfortunately this gives me the following error:
>
> In procedure memoization in expression (let (book #)):
Try copy&paste. You are missing one.
> Your example was either missing a closing bracket or having one
> opening bracket too much. But that doesn't change anything.
No, you just did not understand that
; process with first-number 1
was supposed to be replaced by the rest of the function body, depending
on what you want done.
> And I'm not sure whether it is necessary to specify "\score {" inside
> the let construct (as the argument already is a score).
As far as I remember, it is.
--
David Kastrup
- Compile twice with different includes, Urs Liska, 2013/02/14
- Re: Compile twice with different includes, Jan-Peter Voigt, 2013/02/15
- Re: Compile twice with different includes, Urs Liska, 2013/02/15
- Re: Compile twice with different includes, Urs Liska, 2013/02/15
- Re: Compile twice with different includes, Jan-Peter Voigt, 2013/02/15
- Re: Compile twice with different includes, Urs Liska, 2013/02/15
- Re: Compile twice with different includes,
David Kastrup <=
- Re: Compile twice with different includes, Urs Liska, 2013/02/15
- Re: Compile twice with different includes, David Kastrup, 2013/02/15
- Re: Compile twice with different includes, Jan-Peter Voigt, 2013/02/15
- Re: Compile twice with different includes, Jan-Peter Voigt, 2013/02/15
- Re: Compile twice with different includes, Urs Liska, 2013/02/15
- Re: Compile twice with different includes, Urs Liska, 2013/02/15
- Re: Compile twice with different includes, David Kastrup, 2013/02/15
- Re: Compile twice with different includes, Urs Liska, 2013/02/15