Hi Harm,
I think, its a matter of scope. You have to "import" srfi via
use-modules, but you can't do that inside \layout{} (IIUC).
You can use a self-defined wrapper-command, to access the needed functions:
\version "2.19.18"
#(use-modules (srfi srfi-1))
#(define-public (disp-append-map a b)(display (append-map a b)))
\layout { #(disp-append-map identity '((1) (2))) }
{ c''1 }
HTH
Cheers,
Jan-Peter
Am 08.05.2015 um 02:49 schrieb Thomas Morley:
\version "2.19.18"
\layout { #(display (append-map identity '((1) (2)))) }
{ c''1 }
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel