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. And if they didn't,

(defrecord Foo [n]
  java.io.Serializable)

would probably have rectified that.

Unless you need a custom readResolve or writeObject method, of course.

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