So I have a situation where I want to spool out a data structure as a file where I want to be able for a human to read & modify this structure, and then be able to read it back in. At first I thought this was going to be easy- just use print to write out the structure, and then use read to read it back in. Unfortunately, this doesn't work- see, the structure contains strings, and print drops the quote marks off the strings. I don't think setting *print-readably* is what I want either, although I'm not sure- playing around with it, it doesn't seem to affect the behavior of print at all (that I can tell).
So, my question is this: is there a way to print a structure out in a fashion that it can be read back in correctly (i.e. with strings being quoted), and without having to write my own print function? Thanks. Brian --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---