Aaron Hill writes:
>
> \version "2.19.82"
> \paper {
> #(use-modules (srfi srfi-1))
> #(display (map + '(1 2 3) '(1 2 3 4)))
> }
>
>
>
> GNU LilyPond 2.19.82
> Processing `map-srfi-1.ly'
> Parsing...WARNING: #f: `break' imported from both #f and (srfi srfi-1)
> (2 4 6)
> Succes
On 2019-03-02 3:11 am, Thomas Morley wrote:
fold, reduce any many other procedures are not part of core-guile, but
of the SRFI-1 module.
Nowadays SRFI-1 is present in every ly-file. Not in \paper and \layout,
though.
That's what I get for not reading the Guile docs closely enough. I knew
the
Am Sa., 2. März 2019 um 03:41 Uhr schrieb Aaron Hill :
>
> I encountered an unexpected error where reduce is unbound when
> specifying a lambda within a \context block:
>
>
> \version "2.19.82"
> \layout { \context { \Voice
>\override NoteHead.color = #(lambda (grob)
> (display (reduc
On 2019-03-01 6:40 pm, Aaron Hill wrote:
I encountered an unexpected error where reduce is unbound when
specifying a lambda within a \context block:
\version "2.19.82"
\layout { \context { \Voice
\override NoteHead.color = #(lambda (grob)
(display (reduce + 0 '(1 2 3 4))) red)
} }
{ b
I encountered an unexpected error where reduce is unbound when
specifying a lambda within a \context block:
\version "2.19.82"
\layout { \context { \Voice
\override NoteHead.color = #(lambda (grob)
(display (reduce + 0 '(1 2 3 4))) red)
} }
{ b'4 }
Compare to the following snipp