On Thu, May 28, 2009 at 4:23 PM, Perttu <perttu.aur...@gmail.com> wrote:
> > I use a store-function like this: > > (defn store-customer-db [customer-db filename] > (spit filename (with-out-str (print customer-db)))) I believe this is your problem. The print/println functions print in a format suitable for human consumption. That's why you don't see quotes around the strings. These are the functions you would normally use for, for example, echoing instructions to a console user. I believe what you are looking for are the pr/prn functions (pr in particular). These are designed to print objects for reader consumption. HTH, - J. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---