Skip to content

Clarify ns vs in-ns in namespace reference#735

Open
kovan wants to merge 1 commit intoclojure:masterfrom
kovan:docs/ns-vs-in-ns
Open

Clarify ns vs in-ns in namespace reference#735
kovan wants to merge 1 commit intoclojure:masterfrom
kovan:docs/ns-vs-in-ns

Conversation

@kovan
Copy link

@kovan kovan commented Mar 14, 2026

Rephrases the REPL namespace guidance from "it's best to use in-ns" to present in-ns as an alternative with different behavior. The previous wording implied in-ns is preferable at the REPL, but ns works fine there and is more convenient since it automatically refers clojure.core.

Fixes #663

The previous wording ("it's best to use in-ns" at the REPL) implied
in-ns is preferable to ns at the REPL, which is misleading since ns
works fine there and is more convenient. Rephrase to present in-ns as
an alternative with different behavior (bare namespace without
clojure.core mappings).

Fixes clojure#663
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

namespaces-reference: ns vs in-ns

1 participant