Hi,

On 13 Sep., 09:39, Laurent PETIT <laurent.pe...@gmail.com> wrote:

> And you should consider wrapping the call to map into (dorun) so that you're
> sure that once the function exits, all the ns-umap calls are done.

> > >> (defn ns-unmap-all
> > >>  "Unmap all the symbols (except 'ns' and 'in-ns')."
> > >>  ([] (ns-unmap-all *ns*))
> > >>  ([ns] (map #(ns-unmap ns %) (keys (ns-map ns)))))

In fact you should use doseq. dorun is so ugly.

Sincerely
Meikel

-- 
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