Fix function declaration order

This commit is contained in:
Jeremy Dormitzer 2018-08-11 10:58:50 -04:00
parent d056c3514d
commit 1d12d95542

View File

@ -56,15 +56,6 @@
(declare modify)
(def default-player-map {}) ;; TODO
(defn perform
"Convert a music value to a performance value"
([player-map context music]
(first (perf player-map context music)))
([context music]
(perform default-player-map context music)))
(defn perf
"Implementation of perform, returns a tuple of (performance, duration)"
[player-map context music]
@ -97,7 +88,16 @@
player-map
context
m))))
(def default-player-map {}) ;; TODO
(defn perform
"Convert a music value to a performance value"
([player-map context music]
(first (perf player-map context music)))
([context music]
(perform default-player-map context music)))
(defn modify
"Modifies the context of a performance, returns new performance"
[control player-map context music]