(alter map-1 dissoc key1)
>(alter map-2 dissoc key2)))
>
> Depending on your problem you might consider using just one ref instead of
> two as well (in that case, an atom should be fine).
>
> ~BG
>
>
> On Wed, Jul 16, 2014 at 8:41 AM, zhenxuanpan > wrote:
>
&
(def map-1 (atom {}))
(def map-2 (atom {}))
(defn change [key1 key2 ]
(dosync
(swap! map-1 dissoc key1)
(swap! map-2 dissoc key2)
)
)
is this way ok ?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send e
在 2014年7月8日星期二UTC+8下午7时39分51秒,zhenxuanpan写道:
>
> when i run lein install
>
> lein install
> Compiling zilch.mq
> Exception in thread "main" java.io.FileNotFoundException: Could not locate
> zilch/mq__init.class or zilch/mq.clj on classpath:
> at cloj
apache/storm, I compile at A,B machine, A machine success,B machine report
this error
在 2014年7月8日星期二UTC+8下午8时12分48秒,Tim Visher写道:
>
> On Tue, Jul 8, 2014 at 7:39 AM, zhenxuanpan > wrote:
> > when i run lein install
> >
> > lein install
> > Compiling zilch.
when i run lein install
lein install
Compiling zilch.mq
Exception in thread "main" java.io.FileNotFoundException: Could not locate
zilch/mq__init.class or zilch/mq.clj on classpath:
at clojure.lang.RT.load(RT.java:432)
at clojure.lang.RT.load(RT.java:400)
at clojure.core$load$fn__4890.invoke(cor