Fix function declaration order
This commit is contained in:
parent
d056c3514d
commit
1d12d95542
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user