clojure-koans/koans/path_to_enlightenment.clj

17 lines
429 B
Clojure
Raw Normal View History

(ns koans.path-to-enlightenment
(:use clojure.test))
(def __ nil)
(defmacro meditations [& forms]
(let [pairs (partition 2 forms)]
`(do
~@(doall (map
(fn [[doc# code#]]
`(when-not (is ~code# ~doc#)
(System/exit 1)))
pairs)))))
2010-02-06 22:00:08 +00:00
(load "about_equalities")
(load "about_vectors")
(println "You have acheived clojure enlightenment. Namaste.")