API for ns-utils - clojure-contrib v1.2 (stable)

by Stephen C. Gilardi

Full namespace name: clojure.contrib.ns-utils

Overview

Namespace utilities

get-ns          returns the namespace named by a symbol or throws
                if the namespace does not exist

ns-vars         returns a sorted seq of symbols naming public vars
                in a namespace

print-docs      prints documentation for the public vars in a
                namespace

immigrate       Create a public var in this namespace for each
                public var in the namespaces named by ns-names.
                From James Reeves

vars            returns a sorted seq of symbols naming public vars
                in a namespace (macro)

docs            prints documentation for the public vars in a
                namespace (macro)

Public Variables and Functions



dir

macro
Usage: (dir nsname)
Prints a sorted directory of public vars in a namespace
Deprecated since clojure-contrib version 1.2
Source


docs

macro
Usage: (docs nsname)
Prints documentation for the public vars in a namespace
Source


get-ns

function
Usage: (get-ns ns-sym)
Returns the namespace named by ns-sym or throws if the
namespace does not exist
Source


immigrate

function
Usage: (immigrate & ns-names)
Create a public var in this namespace for each public var in the
namespaces named by ns-names. The created vars have the same name, root
binding, and metadata as the original except that their :ns metadata
value is this namespace.
Source


ns-vars

function
Usage: (ns-vars ns)
Returns a sorted seq of symbols naming public vars in
a namespace
Source


print-dir

function
Usage: (print-dir ns)
Prints a sorted directory of public vars in a namespace
Deprecated since clojure-contrib version 1.2
Source


print-docs

function
Usage: (print-docs ns)
Prints documentation for the public vars in a namespace
Source


vars

macro
Usage: (vars nsname)
Returns a sorted seq of symbols naming public vars in
a namespace
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.