Chas,
I am sorry for my late response.
Thank you very much for your explanation and the code.
It was extremely helpful!
I had problems related to my classpath (I need to sleep more...),
so I ended up with a modified version that can load any file,
whether it is in the classpath or not.
I paste
load-string evaluates the contents of the string, which brings in all
of the compilation machinery, which produces bytecode, classes, etc.
Classfiles have a 64K size limit in typical JVM implementations.
You want to use the read fn (which requires a PushbackReader), as all
you're intereste
Dear list,
I am writing some functions to serialize and deserialize clojure data
structures,
but somehow they do not work and I am stuck.
The functions are as follows:
(use 'clojure.contrib.duck-streams)
(defn ser
"Returns the string serialization of object o."
[o]
(binding [*print-dup*