Re: reduce unbound within \context lambda

2019-03-02 Thread David Kastrup
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

Re: reduce unbound within \context lambda

2019-03-02 Thread Aaron Hill
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

Re: reduce unbound within \context lambda

2019-03-02 Thread Thomas Morley
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

Re: reduce unbound within \context lambda

2019-03-01 Thread Aaron Hill
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

reduce unbound within \context lambda

2019-03-01 Thread 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 (reduce + 0 '(1 2 3 4))) red) } } { b'4 } Compare to the following snipp