Re: defrecord serialization and *data-readers*

2012-05-15 Thread Stuart Sierra
Data reader literals are not intended to replace record serialization. If you want the flexibility to change your record types, I think you need to use data reader literals from the beginning, and have them deserialize as the appropriate record type. -S -- You received this message because yo

defrecord serialization and *data-readers*

2012-05-14 Thread Kurt Harriger
When I first started my project I tried using defrecord and defprotocol for various data structurs and when I wanted an easy serialization function I used pr-str and read-string, this worked great!... until I wanted to do some refactoring and move some types to another namespace. After changing