X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scm%2Fdisplay-woodwind-diagrams.scm;h=7a3f72cba6898e47175ccc82de6901abd87941b7;hb=HEAD;hp=f1190f13c69fe34fd72cc7f47849821392380f0d;hpb=bd751630011a6fbfcf069ec1fc41a8eaed8a6b87;p=lilypond.git diff --git a/scm/display-woodwind-diagrams.scm b/scm/display-woodwind-diagrams.scm index f1190f13c6..7a3f72cba6 100644 --- a/scm/display-woodwind-diagrams.scm +++ b/scm/display-woodwind-diagrams.scm @@ -1,6 +1,6 @@ ;;;; This file is part of LilyPond, the GNU music typesetter. ;;;; -;;;; Copyright (C) 2010--2012 Mike Solomon +;;;; Copyright (C) 2010--2015 Mike Solomon ;;;; ;;;; LilyPond is free software: you can redistribute it and/or modify ;;;; it under the terms of the GNU General Public License as published by @@ -1685,8 +1685,7 @@ possibility-list)))) (define (translate-draw-instructions input-alist key-name-alist) - (apply append - (map (lambda (short long) + (append-map (lambda (short long) (let* ((key-instructions (map (lambda (instr) @@ -1695,15 +1694,14 @@ (assoc-get long key-name-alist)))) (key-crawler (assoc-get short input-alist) key-instructions))) '(hd cc lh rh) - '(hidden central-column left-hand right-hand)))) + '(hidden central-column left-hand right-hand))) (define (uniform-draw-instructions key-name-alist) - (apply append - (map (lambda (long) + (append-map (lambda (long) (map (lambda (key-instructions) `((,long . ,(car key-instructions)) . 1)) (assoc-get long key-name-alist))) - '(hidden central-column left-hand right-hand)))) + '(hidden central-column left-hand right-hand))) (define (list-all-possible-keys key-name-alist) (map (lambda (short long)