I want to split a big clojure-script into smaller ones. And it looks like this.
One:
(ns one
(:use [two :only (show)]))
(def status "WORKING")
Two:
(ns two
(:use [one :only (status)]))
(defn show [] (println status))
Result: Exception.
PS I understand that some some kind of recursive namespace constructing happens. I know only a sloppy half-solution, like defining without body before referncing to namespaces? Any suggestions?