clojure-dev

Issues: https://clojure.atlassian.net/browse/CLJ | Guide: https://insideclojure.org/2015/05/01/contributing-clojure/
2020-07-07T06:40:24.343900Z

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)

2020-07-07T06:42:38.345800Z

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.

2020-07-07T06:43:46.346Z

maybe that's a bad idea

2020-07-07T06:56:35.346300Z

There are none

2020-07-07T06:57:14.347400Z

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

2020-07-07T06:58:13.349100Z

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

2020-07-07T07:08:06.350300Z

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

thheller 2020-07-07T08:58:21.350900Z

@vincent.cantin you already have

::foo `foo 
for "local" aliases

seancorfield 2020-07-07T22:19:19.352100Z

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?