Skip to content

Commit 58309f3

Browse files
committed
bugfix: use clojure < 1.7 update-in syntax
By report, this is still causing problems with Boot installations that don't use Clojure 1.7 by default. At least for the time being, it's safer to use the pre-Clojure 1.7 `update-in` syntax instead of the slightly-more-concise Clojure 1.6 `update` syntax, in order to avoid compatibility issues.
1 parent f185c19 commit 58309f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/alda/now.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
events
1414
(let [earliest (apply min (map :offset events))]
1515
(into #{}
16-
(map #(update % :offset - earliest) events)))))
16+
(map #(update-in % [:offset] - earliest) events)))))
1717

1818
(defn play-new-events!
1919
[events]

src/alda/version.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
(ns alda.version)
22

3-
(def ^:const -version- "0.4.3")
3+
(def ^:const -version- "0.4.4")
44

0 commit comments

Comments
 (0)