API for with-ns - clojure-contrib v1.3 (in development)

by Stuart Sierra

clojure-contrib is now deprecated

clojure-contrib is no longer being developed or maintained.

Rather than a single, monolithic, contributions library, Clojure now has a set of separate libraries for each unit of functionality. The libraries are in the Clojure GitHub organization at https://github.com/clojure. API documentation of the libraries can be found at https://clojure.github.io.

If you're looking for a specific function or namespace from the old clojure-contrib, see "Where Did Clojure.Contrib Go".


Full namespace name: clojure.contrib.with-ns

Overview

Temporary namespace macro

Public Variables and Functions



with-ns

macro
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (with-ns ns & body)
Evaluates body in another namespace.  ns is either a namespace
object or a symbol.  This makes it possible to define functions in
namespaces other than the current one.
Source


with-temp-ns

macro
This library, clojure-contrib, is deprecated. See here for more information.
Usage: (with-temp-ns & body)
Evaluates body in an anonymous namespace, which is then immediately
removed.  The temporary namespace will 'refer' clojure.core.
Source
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.