I'm trying to prn a large data structure to a file so I can later read
it back in, like so -
(defn write-nick-sets [file-name obj]
(binding [*out* (java.io.FileWriter. file-name)]
(prn obj)))
obj here is a map with a string as its key and another map as its
value. The nested map has a list as its key and a set as its value.
When I prn the structure to a file as above, it doesn't print out all
my data, only 40 key-value pairs for each nested map are printed, and
an ellipsis is inserted after them (I guess to represent the
remainder).
Anyone know what I'm doing wrong here? How can I print the whole data
structure to a file, in a way that the reader can understand?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en