Re: What's wrong with my *print-dup* persistence?

2011-09-12 Thread Tassilo Horn
Chouser chou...@gmail.com writes: I haven't tried all the above, but I had a couple thoughts that might help: First, inside #=(), arguments aren't evaluated. They act as if quoted: #=(+ 1 (+ 2 4)) ; ClassCastException clojure.lang.PersistentList cannot be cast to java.lang.Number

Re: What's wrong with my *print-dup* persistence?

2011-09-11 Thread Jonathan Fischer Friberg
Or (load-string (+ 1 (+ 2 4))) Jonathan On Fri, Sep 9, 2011 at 5:14 PM, Chouser chou...@gmail.com wrote: On Thu, Sep 8, 2011 at 5:16 PM, Tassilo Horn tass...@member.fsf.org wrote: Hi all, I've just read Alan Malloy's excellent clojure persistence article at

Re: What's wrong with my *print-dup* persistence?

2011-09-09 Thread Tassilo Horn
Tassilo Horn tass...@member.fsf.org writes: Hi again, I've just debugged it a bit further and now I'm even more confused... So my reloading function only needs to bind *serialization-bindings* to a map from graph id to graph, and it should work. (defn tg-read [str gs] (binding

Re: What's wrong with my *print-dup* persistence?

2011-09-09 Thread Chouser
On Thu, Sep 8, 2011 at 5:16 PM, Tassilo Horn tass...@member.fsf.org wrote: Hi all, I've just read Alan Malloy's excellent clojure persistence article at  http://amalloy.hubpages.com/hub/Dont-use-XML-JSON-for-Clojure-only-persistence-messaging Then I wanted to add a feature for persisting

What's wrong with my *print-dup* persistence?

2011-09-08 Thread Tassilo Horn
Hi all, I've just read Alan Malloy's excellent clojure persistence article at http://amalloy.hubpages.com/hub/Dont-use-XML-JSON-for-Clojure-only-persistence-messaging Then I wanted to add a feature for persisting and reloading clojure data that also contains vertices and edges of some java