woops, mistake

(defn ns-export [from-ns]
  (count (doall (map (fn [[sym var]]
                       (let [v (if (.hasRoot var)
                                 (var-get var))
                             var-obj (if v (intern *ns* sym v))]
                         (when var-obj
                           (alter-meta! var-obj
                                        (fn [old] (merge (meta var) old)))
                           var-obj)))
                     (ns-publics from-ns)))))

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to