global ^
returns the entire global map
v 3.0
(defn global
([]
(global :all))
([k]
(global k {:cached false}))
([k {:keys [cached]}]
(if-let [prop (and cached
(get @+cache k))]
prop
(let [prop ((get +global+ k))]
(swap! +cache assoc k prop)
prop))))
link
(global :all)