Skip to content
This repository has been archived by the owner on Jan 28, 2019. It is now read-only.

Promote ns-name from ^:deprecated #48

Merged
merged 3 commits into from
Feb 1, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/clj/clojure/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4033,11 +4033,10 @@

(defn ns-name
"Returns the name of the namespace, a symbol."
{:added "1.0"
:static true
:deprecated "1.9"}
[ns]
(symbol (.getName (the-ns ns))))
{:added "1.0"
:static true}
^clojure.lang.Symbol [ns]
(.name ^clojure.lang.Namespace (the-ns ns)))

(defn ns-map
"Returns a map of all the mappings for the namespace."
Expand Down