Re: PersistentHashMap vs PersistentArrayMap in Postal Question

2012-03-04 Thread Brad Lucas
That did the trick. Thanks. Oh and I'll be careful on StackOverflow :) - Brad On Mar 4, 12:51 pm, Dave Ray wrote: > Brad, > > As Kevin points out, because the values in the property file go > through read-string, they're read as Clojure literals, symbols in this > case. One solution is to make

Re: PersistentHashMap vs PersistentArrayMap in Postal Question

2012-03-04 Thread Dave Ray
Brad, As Kevin points out, because the values in the property file go through read-string, they're read as Clojure literals, symbols in this case. One solution is to make the string values look like string literals to the reader: host="foo.com" port=2525 user="me" pass="pwd" Try that and never b

Re: PersistentHashMap vs PersistentArrayMap in Postal Question

2012-03-04 Thread Kevin Downey
Your example is calling read-string so the resulting map has symbols instead of strings On Mar 4, 2012 7:23 AM, "Brad Lucas" wrote: > I'm using Postal (https://github.com/drewr/postal) and found something > I don't know how to fix. > > I have my application working fine if I have a var with my sm

PersistentHashMap vs PersistentArrayMap in Postal Question

2012-03-04 Thread Brad Lucas
I'm using Postal (https://github.com/drewr/postal) and found something I don't know how to fix. I have my application working fine if I have a var with my smtp properties created as follows: (def smtp-original {:host "foo.com" :port 2525 :user "me"