On 1/27/11 8:41 PM, Ben Mabey wrote:
On 1/27/11 7:24 PM, Ken Wesson wrote:
On Thu, Jan 27, 2011 at 6:24 PM, Mark Engelberg
<mark.engelb...@gmail.com>  wrote:
Records don't have serialization yet, do they?
user=>  (defrecord Foo [n])
user.Foo
user=>  ((supers Foo) java.io.Serializable)
java.io.Serializable

Looks like they do.

The one caveat is that for java to serialize the record a class file needs to be compiled for the record.
Sorry, I meant to say deserialize... You can serialize it without the class file on disk just fine.

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