Changes for clojure.core/remove-ns

sillitor on Tue, 06 Aug 2013
;; Let's create a namespace and then remove it

user=> (create-ns 'my-new-namespace)
#<Namespace my-new-namespace>

;; removing a namespace will give you the namespace you just deleted, if one existed
user=> (remove-ns 'my-new-namespace)
#<Namespace my-new-namespace>

;; removing a namespace that does not exist, will tell you that nothing was removed, 
;; by returning nil, and won't give any errors
user=> (remove-ns 'my-new-namespace)
nil
zkim on Sun, 26 Sep 2010
;; Let's create a namespace and the remove it

user=> (create-ns 'my-new-namespace)
#<Namespace my-new-namespace>

;; removing a namespace will give you the namespace you just deleted, if one existed
user=> (remove-ns 'my-new-namespace)
#<Namespace my-new-namespace>

;; removing a namespace that does not exist, will tell you that nothing was removed, 
;; by returning nill, and won't give any errors
user=> (remove-ns 'my-new-namespace)
nil
belun on Sun, 19 Sep 2010
Let's create a namespace and the remove it

user=> (create-ns 'my-new-namespace)
#<Namespace my-new-namespace>

; removing a namespace will give you the namespace you just deleted, if one existed
user=> (remove-ns 'my-new-namespace)
#<Namespace my-new-namespace>

; removing a namespace that does not exist, will tell you that nothing was removed, 
; by returning nill, and won't give any errors
user=> (remove-ns 'my-new-namespace)
nil
belun on Sun, 19 Sep 2010
Let's create a namespace and the remove it

user=> (create-ns 'my-new-namespace)
#<Namespace my-new-namespace>

; removing a namespace will give you the namespace you just deleted, if one existed
user=> (remove-ns 'my-new-namespace)
#<Namespace my-new-namespace>

; removing a namespace that does not exist, will tell you that nothing was removed, 
; by returning nill, and won't give any error
user=> (remove-ns 'my-new-namespace)
nil
belun on Sun, 19 Sep 2010
Let's create a namespace and the remove it

user=> (create-ns 'my-new-namespace)
#<Namespace my-new-namespace>

; removing a namespace will give you the namespace you just deleted, if one existed
user=> (remove-ns 'my-new-namespace)
#<Namespace my-new-namespace>

; removing a namespace that does not exist, will tell you that nothing was removed, 
; by returning nill, and won't give any error)
user=> (remove-ns 'my-new-namespace)
nil
belun on Sun, 19 Sep 2010
Let's create a namespaceand the remove it


user=> (create-ns 'my-new-namespace)
#<Namespace my-new-namespace>

; removing a namespace will give you the namespace you just deleted, if one existed
user=> (remove-ns 'my-new-namespace)
#<Namespace my-new-namespace>

; removing a namespace that does not exist, will tell you that nothing was removed, 
; by returning nill, and won't give any error)
user=> (remove-ns 'my-new-namespace)
nil