목차

alias

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.

Syntax

(alias aliasname namespace-name)

Example

(ns clojure.examples.example
   (:require [clojure.set :as set])
   (:gen-class))
(defn example []
   (alias 'string 'clojure.examples.hello))
(example)

Refs


관련 문서