This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-07
Channels
- # babashka (7)
- # beginners (218)
- # boot (1)
- # chlorine-clover (2)
- # cider (36)
- # cljsrn (8)
- # clojure (71)
- # clojure-dev (9)
- # clojure-europe (11)
- # clojure-france (1)
- # clojure-italy (5)
- # clojure-nl (5)
- # clojure-uk (24)
- # clojurescript (9)
- # conjure (16)
- # cursive (65)
- # datomic (76)
- # devcards (21)
- # emacs (1)
- # etaoin (1)
- # figwheel-main (47)
- # fulcro (37)
- # hyperfiddle (9)
- # java (2)
- # kaocha (1)
- # malli (11)
- # music (14)
- # observability (8)
- # off-topic (32)
- # re-frame (13)
- # reagent (2)
- # reitit (5)
- # ring (3)
- # shadow-cljs (40)
- # slack-help (17)
- # spacemacs (15)
- # tools-deps (5)
- # xtdb (16)
I am thinking about an addition to the syntax of the ns
macro: the :as
option on the namespace itself.
(ns my-ns :as here)
That would help in situations where the user has to type the fully qualified name of a Var defined locally .. but I am not sure about when/where this use case happens.
maybe that's a bad idea
There are no places your have access to the alias that you can't just use the unqualified name of the var
I was thinking that in some cases it could simplify quoting, but .. no.
@vincent.cantin you already have
::foo `foo
for "local" aliasesJust noticed that serialized-require
is documented in new core functions for Clojure 1.10 https://github.com/clojure/clojure/blob/master/changes.md#26-other-new-functions-in-core but it ended up being private. Probably should not be listed in the changes doc?