>
> Thanks, that's helpful for me.  By chance do you know if the class is 
> natively recoverable from the TypeName for Clojure/Java?  Class/forName 
> can't roundtrip that string.  I could implement a look-up table to 
> translate between the two formats, but that seems rather kludgey.
>

I actually just wrote a library for this sort of thing that works with any 
java.io.Serializable: https://bitbucket.org/morgon/jfreeze

It's only meant to work with pr-dup (set the *print-dup* dynamic to true 
before printing), not necessarily the standard REPL printer, but generally 
if you're printing something you want to read back in you should be using 
pr-dup anyway.

-- Morgon

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to