Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # ns This is used to create a new namespace and associate it with the running program. ### Syntax <code> (ns namespace-name) </code> ### Example <code> (ns clojure.myown (:require [clojure.set :as set]) (:gen-class)) (defn hello-world [] (println *ns*)) (hello-world) </code> #### Output <code> #object[clojure.lang.Namespace 0x50ad3bc1 clojure.myown] </code> ## Docs - [[a_ns_a|*ns*]] ## Refs - https://www.tutorialspoint.com/clojure/clojure_ns.htm open/ns.txt Last modified: 2024/10/05 06:15by 127.0.0.1