API for ns-utils
(master branch)
by
Stephen C. Gilardi
Usage:
(ns your-namespace
(:require clojure.contrib.ns-utils))
Overview
Namespace utilities
Public Variables and Functions
dir
macro
Usage: (dir nsname)
Prints a sorted directory of public vars in a namespace
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
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