(rontolisp) docs
← Namespaces

use

(use 'clause ...)

Loads namespaces and refers the names each quoted clause lists, answering nil -- (:only [...]) narrows them and (:exclude [...]) subtracts from them, the same refer wiring ns does. Without a filter it refers every public var of the namespace (never a private one). clojure.string, clojure.set, clojure.java.io (reader only) and clojure.test are built in, any other namespace loads from its file on the source path; a bare library symbol refers all of it; an unknown namespace is an error. An unquoted vector spec is accepted too, though real Clojure rejects it. A prefix list '(prefix [sub ...]) wires each member under the prefix, quoted or bare.