Re: Pack and unpack

2010-05-08 Thread Michael Jaaka
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

Re: Pack and unpack

2010-05-08 Thread Michael Jaaka
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

Pack and unpack

2010-05-07 Thread Michael Jaaka
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 group, send email

Re: Pack and unpack

2010-05-07 Thread Michael Jaaka
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

Re: Pack and unpack

2010-05-07 Thread Matt
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 group, send email to clojure@googlegroups.com Note that posts from

Re: Pack and unpack

2010-05-07 Thread Stuart Sierra
On May 7, 11:55 am, Michael Jaaka michael.ja...@googlemail.com 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

Re: Pack and unpack

2010-05-07 Thread Mark Engelberg
On Fri, May 7, 2010 at 1:32 PM, Stuart Sierra the.stuart.sie...@gmail.com 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