Re: ns-unmap-all

2010-09-13 Thread Laurent PETIT
indeed 2010/9/13 Meikel Brandmeyer > Hi, > > On 13 Sep., 09:39, Laurent PETIT 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. > > > >

Re: ns-unmap-all

2010-09-13 Thread Meikel Brandmeyer
Hi, On 13 Sep., 09:39, Laurent PETIT 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 (ex

Re: ns-unmap-all

2010-09-13 Thread Laurent PETIT
SLIME in a > >> long-running VM: > >> > >> (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) > &

Re: ns-unmap-all

2010-09-12 Thread Robert McIntyre
y in debugging >> symbol collisions in (ns) directives when developing with SLIME in a >> long-running VM: >> >> (defn ns-unmap-all >>  "Unmap all the symbols (except 'ns' and 'in-ns')." >>  ([] (ns-unmap-all *ns*)) >>  ([ns] (map #(ns-u

Re: ns-unmap-all

2010-09-12 Thread Phil Hagelberg
On Sat, Sep 11, 2010 at 6:48 PM, blais wrote: > The following function has been a real _lifesaver_ lately in debugging > symbol collisions in (ns) directives when developing with SLIME in a > long-running VM: > > (defn ns-unmap-all >  "Unmap all the symbols (except 'n

Re: ns-unmap-all

2010-09-12 Thread Stuart Sierra
with SLIME in a > long-running VM: > > (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) > > May I kindly suggest the inclusion of someth

Re: ns-unmap-all

2010-09-12 Thread Stuart Sierra
eveloping with SLIME in a > long-running VM: > > (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) > > May I kindly suggest the inclusion

ns-unmap-all

2010-09-12 Thread blais
Hi, The following function has been a real _lifesaver_ lately in debugging symbol collisions in (ns) directives when developing with SLIME in a long-running VM: (defn ns-unmap-all "Unmap all the symbols (except 'ns' and 'in-ns')." ([] (ns-unmap-all *ns*)) ([n