Re: Could use a better error message here (using a list in update-in)

2015-03-11 Thread John Gabriele
Ok, done (CLJ-1672). Though, as an aside, that site doesn't allow connection via https. One has to send all their credentials in the clear... On Tuesday, March 10, 2015 at 11:17:58 AM UTC-4, Stuart Sierra wrote: Please file a ticket in JIRA and tag it with errormsg

Re: Could use a better error message here (using a list in update-in)

2015-03-10 Thread Stuart Sierra
Please file a ticket in JIRA and tag it with errormsg http://dev.clojure.org/display/community/Creating+Tickets –S On Tuesday, March 10, 2015 at 3:13:36 PM UTC, John Gabriele wrote: In Clojure v1.6.0. This one confused me when I'd accidentally passed a list in to `update-in` instead of a

Could use a better error message here (using a list in update-in)

2015-03-10 Thread John Gabriele
In Clojure v1.6.0. This one confused me when I'd accidentally passed a list in to `update-in` instead of a vector: ~~~ some-app.core= (update-in [:a :b :c] [1] name) [:a b :c] some-app.core= (update-in '(:a :b :c) [1] name) NullPointerException clojure.core/name (core.clj:1518) ~~~ -- You