This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-19
Channels
- # announcements (3)
- # asami (3)
- # babashka (39)
- # beginners (65)
- # calva (13)
- # cider (4)
- # clj-kondo (69)
- # cljdoc (19)
- # cljs-dev (2)
- # clojure (90)
- # clojure-dev (10)
- # clojure-europe (61)
- # clojure-france (15)
- # clojure-nl (8)
- # clojure-uk (2)
- # clojurescript (28)
- # conjure (2)
- # core-logic (4)
- # cursive (8)
- # datalevin (5)
- # datascript (7)
- # datomic (14)
- # depstar (4)
- # events (1)
- # graphql (7)
- # holy-lambda (5)
- # jobs (5)
- # kaocha (1)
- # malli (14)
- # membrane-term (13)
- # missionary (13)
- # nextjournal (6)
- # off-topic (1)
- # polylith (15)
- # portal (10)
- # re-frame (35)
- # reitit (1)
- # remote-jobs (3)
- # schema (3)
- # sci (121)
- # spacemacs (6)
- # tools-build (8)
- # tools-deps (74)
- # xtdb (7)
Looking at CLJ-2665 (in the 1.11 list mentioned in the latest deref), it has a caveat that seems to imply that if you use :refer
with :as-alias
the ns will not be loaded (based on the current patch) -- am I reading that correctly?
there are some parts of this patch that are still up for debate and it has not been reviewed by Rich yet
Cool. Thanks. Just wanted to check I had read it correctly.
:as-alias says "don't require loading", :refer depends on loading, so you should really use :as in this case. really, everything about this is weird due to the history of use/require and as/as-alias. it's hard to back your way into a semantic model after the fact.
Linters will have fun...
well you might want to wait till it settles :)
Is there a chance https://clojure.atlassian.net/browse/CLJ-1239 will make it in to 1.11?