Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(deftest jazz-band-closure-creates-musician-with-access-to-band-set-list
(testing
(is (= ["Donna Lee" "Dig"] ((jazz-band-that-creates-musician ["Donna Lee" "Dig"]))))))
(defn jazz-band-that-creates-musician [set-list] (fn [] set-list))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment