Liking cljdoc? Tell your friends :D

hara.namespace.import


importcljmacro

(import nsp vars & more)

Imports all or a selection of vars from one namespace to the current one.

(import hara.common.checks [bytes? long?]) => nil (eval '(long? 1)) => true (eval '(bytes? 1)) => false

(import hara.common.checks :all) => nil (eval '(bigint? 1)) => false

Imports all or a selection of vars from one namespace to the current one.

(import hara.common.checks [bytes? long?]) => nil
(eval '(long? 1))  => true
(eval '(bytes? 1)) => false

(import hara.common.checks :all) => nil
(eval '(bigint? 1)) => false

raw docstring

import-namespaceclj

(import-namespace ns)
(import-namespace ns vars)

Imports all or a selection of vars from one namespace to the current one.

(import-namespace 'hara.common.checks '[bytes? long?]) (eval '(long? 1)) => true (eval '(bytes? 1)) => false

Imports all or a selection of vars from one namespace to the current one.

(import-namespace 'hara.common.checks '[bytes? long?])
(eval '(long? 1))  => true
(eval '(bytes? 1)) => false

raw docstring

import-varclj

(import-var name var)

Imports a single var from one namespace to the current one.

(import-var 'ifl #'clojure.core/if-let) => anything ; #'hara.namespace.import-test/ifl (eval '(ifl [a 1] (inc a))) => 2

Imports a single var from one namespace to the current one.

(import-var 'ifl #'clojure.core/if-let)
=> anything ; #'hara.namespace.import-test/ifl
(eval '(ifl [a 1] (inc a))) => 2

raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close