Re: Slurping structs from file fails with whitespace string attributes

2009-06-07 Thread Perttu
Thanks! Sorry about double-posting, the message took over 24 hours to appear here. -Perttu On May 29, 2:56 pm, J. McConnell jdo...@gmail.com wrote: 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

Slurping structs from file fails with whitespace string attributes

2009-05-29 Thread Perttu
Hi. I'm a newbie so bare with me. I have just started playing with Clojure and the first thing I thought I'd try is storing and retrieving a seq of structs, like in Suart Halloway's example here:

Re: Slurping structs from file fails with whitespace string attributes

2009-05-29 Thread J. McConnell
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