fc28cd9

Pinchord · pinchord.git · Tickets · Changelog

Branches > build-process > fc28cd9 > files / setup.cfg

Document all-chords

Grahp, 2026-09-05

Commit: fc28cd98be6f404c28dbfadcefad04a5f6ed09dc
Parent: 1b963ec

1 changed file:

src/org/pinchord/generate.clj modified (view file)

@@ -26,7 +26,10 @@         new-s))     s)) -(defn all-chords [s]+(defn all-chords+  "Returns a set of all chord combinations of a given string of keys.+   E.g. (all-chords \"AO\") -> #{\"\" \"O\" \"AO\" \"A\"}"+  [s]   (if (empty? s)     #{""}     (let [rest-combos (all-chords (rest s))]