modularize runner script

This commit is contained in:
Colin Jones 2010-07-12 18:19:54 -05:00
parent 19a16f201f
commit b6c0b70de1

View File

@ -13,7 +13,8 @@
(System/exit 0))) (System/exit 0)))
pairs)))) pairs))))
(load "equalities" (def ordered-koans
["equalities"
"lists" "lists"
"vectors" "vectors"
"sets" "sets"
@ -23,6 +24,10 @@
"higher_order_functions" "higher_order_functions"
"runtime_polymorphism" "runtime_polymorphism"
"sequence_comprehensions" "sequence_comprehensions"
"partial_functions") "partial_functions"])
(println "You have achieved clojure enlightenment. Namaste.") (defn run []
(apply load ordered-koans)
(println "You have achieved clojure enlightenment. Namaste."))
(run)