Fork me on GitHub
#clojure-dev
<
2020-07-07
>
vincent.cantin06:07:24

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)

vincent.cantin06:07:38

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.

vincent.cantin06:07:46

maybe that's a bad idea

hiredman06:07:35

There are none

hiredman06:07:14

There are no places your have access to the alias that you can't just use the unqualified name of the var

hiredman06:07:13

Because both of those things really on the same thing, the value of *ns*

vincent.cantin07:07:06

I was thinking that in some cases it could simplify quoting, but .. no.

thheller08:07:21

@vincent.cantin you already have

::foo `foo 
for "local" aliases

seancorfield22:07:19

Just 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?