Btw. serialization of data structures in 1.2 works nicely,
comunication by RMI works like a charm :)
--
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 mod
OK, already downloaded. But what with writer in io.clj? In old duck-
streams.clj I've just used (let [w (writer z1) r (reader z2)] ... ),
but now I get just:
commons=> java.lang.Exception: Unable to resolve symbol: writer in
this context (NO_SOURCE_FILE:108)
commons=>
My import is (:require (cloj
http://richhickey.github.com/clojure/
OK, already downloaded. But what with writer in io.clj? In old duck-
streams.clj I've just used (let [w (writer z1) r (reader z2)] ... ),
but now I get just:
commons=> java.lang.Exception: Unable to resolve symbol: writer in
this context (NO_SOURCE_FILE:108)
On Fri, May 7, 2010 at 1:32 PM, Stuart Sierra
wrote:
> In Clojure 1.2 the core Clojure data structures will all be
> Serializable. You can test this in the current development master
> branch.
So is binding *print-dup* still the recommended way to serialize, or
is there some other standard way t
On May 7, 11:55 am, Michael Jaaka
wrote:
> I was searching for function which converts to and back all clojure
> structures like maps, vectors and sequences to serializable java
> objects.
In Clojure 1.2 the core Clojure data structures will all be
Serializable. You can test this in the current
due to customizable comparator).
>
> > I need that because I'm doing RMI conversation between multiple
> > instances of REPL (other methods of protocol are not acceptable in my
> > case).
>
> > My proposition for names of such function is pack and unpack.
>
> >
le
> instances of REPL (other methods of protocol are not acceptable in my
> case).
>
> My proposition for names of such function is pack and unpack.
>
> Thanks in advance!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure&qu
To clarify "serializable objects" clojure vectors would become
ArrayList, clojure sequences would become LinkedList, clojure sets
would become HashMap, clojure maps would become HashTree.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this
on between multiple
instances of REPL (other methods of protocol are not acceptable in my
case).
My proposition for names of such function is pack and unpack.
Thanks in advance!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this