I have a "database" that I'm working with that I'm loading using

(def *db* (load-file "path-to-file/db.clj"))

and saving using by basically opening a PrintWriter and using (pr-str *db*).
The output to the file is a clojure data structure, but it is all on one
line. Is there any existing code for printing out in a formatted way with
new lines and indents and such?


Paul

--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to