Re: Multiple key-value pairs in assoc-in (old issue)

2016-08-18 Thread Andy Fingerhut
Anyone who has created a free JIRA account can vote on Clojure tickets. High-voted tickets get Alex Miller's attention so he can try to make progress on them, with some level of priority over tickets without votes. Note that in some cases, 'making progress' can simply mean 'declined sooner, rather

Re: Multiple key-value pairs in assoc-in (old issue)

2016-08-18 Thread Paulus Esterhazy
Just this week I have wished for an extended version of `assoc-in` more than once. The reason is convenience, e.g. in the context of a ring middleware: (assoc-in response [:headers "Location"] "/homepage" [:session :user-id] user-id) Extending `assoc-in` would also achieve parity with `asso

fdef for defmulti?

2016-08-18 Thread Alex Miller
I should mention that a half step is to spec the dispatch function used by the multimethod. That covers the front-end. -- 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 Note that posts from

fdef for defmulti?

2016-08-18 Thread Alex Miller
There are several kinds of functions that can't currently be spec'ed (primitive, interned, maybe protocol fns?, multi methods). Some of those will ultimately be fixed, some (interned) will probably not. -- You received this message because you are subscribed to the Google Groups "Clojure" group

fdef for defmulti?

2016-08-18 Thread Patrik Sundberg
Hi, Am I right to think you can't currently fdef a defmulti function? I tried and when running tests using clojure.spec.test/instrument I see: 1. Unhandled java.lang.ClassCastException clojure.spec.test$spec_checking_fn$fn__12959 cannot be cast to clojure.lang.MultiFn cor