|
From: | Urs Liska |
Subject: | Re: Catch direction operators |
Date: | Tue, 01 Oct 2013 12:08:40 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
Am 01.10.2013 12:04, schrieb David Kastrup:
Urs Liska <address@hidden> writes:Am 29.09.2013 17:04, schrieb David Kastrup:\new Voice \with { \mapList #colorizeDir Slur.StringNumber.TextScript }\new Voice \with { \mapList #colorizeDir #(map (lambda (x) (car x)) all-grob-descriptions) } Adds the option of coloring all grobs with a 'direction property.I cringe whenever I see something like (lambda (x) (car x)). You are aware that this is just an obfuscated version of car itself?
No. But I'm ready to learn.What I want to achieve here (with the map) is a list of all cars of all-grob-descriptions.
#(map (lambda (x) (car x)) all-grob-descriptions)gives me what I want. So what would I have to do to make it cleaner/less obfuscated?
Urs
[Prev in Thread] | Current Thread | [Next in Thread] |