Skip to content

clojure.core/alias

View this page on ClojureDocs

Type: function Added: Clojure 1.0 Examples: 2 Runnable: 2
([alias namespace-sym])

Add an alias in the current namespace to another namespace. Arguments are two symbols: the alias to be used, and the symbolic name of the target namespace. Use :as in the ns macro in preference to calling this directly.

Examples

by teyc on
by phreed on

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.