This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-19
Channels
- # admin-announcements (2)
- # beginners (25)
- # boot (93)
- # cider (2)
- # clara (2)
- # cljs-dev (63)
- # cljsjs (3)
- # cljsrn (38)
- # clojure (142)
- # clojure-austin (1)
- # clojure-brasil (2)
- # clojure-czech (1)
- # clojure-dev (7)
- # clojure-greece (1)
- # clojure-russia (170)
- # clojure-spec (11)
- # clojure-uk (65)
- # clojurescript (46)
- # clojurex (1)
- # code-reviews (3)
- # cursive (11)
- # datomic (35)
- # euroclojure (6)
- # events (2)
- # flambo (2)
- # hoplon (115)
- # instaparse (11)
- # jobs (21)
- # jobs-rus (3)
- # lambdaisland (2)
- # off-topic (17)
- # om (35)
- # onyx (161)
- # planck (1)
- # protorepl (7)
- # random (1)
- # re-frame (31)
- # reagent (19)
- # ring-swagger (21)
- # rum (5)
- # spacemacs (3)
- # specter (25)
- # test-check (20)
- # testing (7)
- # untangled (2)
- # yada (50)
@cfleming bar
is marked as cannot be resolved
in this example:
(let [{:keys [foo/bar]
:or {bar 1}} {}]
bar)
Previously you could get around this by doing:
(let [{:keys [foo/bar]
:or {foo/bar [1]}} {}]
bar)
However that behavior was accidental and broken. It is removed from clojure 1.9.0. Per Alex Miller:
> the keys of the :or
should always be the symbols to bind locally (not keywords or qualified symbols)it’s unfortunate that this is version dependent, but it is. I consider supplying :or defaults for namespaced keys to be broken prior to 1.9.0-alpha8.
@kenny: Can you file an issue for that? I’ll fix it for the next release as part of updating some things for 1.9.0.
@cfleming Just wanted to say a big thanks for making Cursive as great as it is. It’s a pleasure to use such a polished tool that the author obviously, genuinely cares about.
Have an odd thing … in one of my projects, I don’t get pass/fail test markers on my functions. In others, it works.