我有一个功能
(defn change-score [docid termid]
(do (dosync (alter *documents-scores* assoc docid (+ 1 (*documents-scores* docid))))
nil) )
(defn vector-space[]
(loop [terms (count (deref *term-hash*))]
(if (zero? terms)
nil
(do
(dorun (map (fn[docid](change-score docid terms)) (doc-list terms)))
(recur (dec terms))))))
在功能中有替代地图吗?