This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-09
Channels
- # announcements (1)
- # aws-lambda (3)
- # babashka (6)
- # beginners (91)
- # bristol-clojurians (5)
- # calva (25)
- # chlorine-clover (8)
- # cider (6)
- # clj-kondo (13)
- # cljdoc (10)
- # cljsrn (1)
- # clojure (80)
- # clojure-berlin (6)
- # clojure-europe (29)
- # clojure-nl (4)
- # clojure-spec (18)
- # clojure-uk (51)
- # clojurescript (41)
- # conjure (55)
- # cursive (3)
- # datomic (58)
- # emacs (9)
- # events (1)
- # figwheel-main (2)
- # fulcro (29)
- # graphql (12)
- # helix (4)
- # jobs (4)
- # klipse (8)
- # london-clojurians (1)
- # malli (5)
- # off-topic (13)
- # portal (9)
- # re-frame (30)
- # shadow-cljs (44)
- # spacemacs (7)
- # specter (3)
- # sql (11)
- # tools-deps (71)
- # windows (1)
- # xtdb (10)
Good morning!
I posted a question on http://ask.clojure.org about this, since I do think this is nonsensical and could/should be caught by a destructuring-spec.
@slipset It's not nonsensical. you can use keywords in destructuring (most useful when using namespaced keywords) and treating :as
as special would be surprising
I can see how this would be useful (and I have used it) with namespaced kws, but it's a bit more far fetched with non-namespaced kws.
That ship has also long sailed, it's been there for a long time and won't be changed.
but clj-kondo already catches this sillyness by reporting :as
as an unused binding, so I think it's sufficiently covered
Well, I learned a couple of things, amongst them, a function called ident?
which was added in 1.9
morning