(include & [opts? & sources])
Imports all or a selection of vars from one namespace to the current one.
(include (hara.core.base.check atom? long?)) (eval '(long? 1)) => true (eval '(atom? 1)) => false
(include {:fn (fn [ns sym var] (intern ns sym (fn [x] (@var (bigint x)))))} (hara.core.base.check bigint?)) (eval '(bigint? 1)) => true
(include {:ns 'clojure.core} (hara.core.base.check bigint?)) => [#'clojure.core/bigint?]
Imports all or a selection of vars from one namespace to the current one. (include (hara.core.base.check atom? long?)) (eval '(long? 1)) => true (eval '(atom? 1)) => false (include {:fn (fn [ns sym var] (intern ns sym (fn [x] (@var (bigint x)))))} (hara.core.base.check bigint?)) (eval '(bigint? 1)) => true (include {:ns 'clojure.core} (hara.core.base.check bigint?)) => [#'clojure.core/bigint?]
(link & [opts? & sources])
creates links to vars that can be resolved in a controllable manner
(link {:resolve :lazy} (hara.core.base.check atom?))
(meta #'atom?) => {:name 'atom?, :ns ns}
creates links to vars that can be resolved in a controllable manner (link {:resolve :lazy} (hara.core.base.check atom?)) (meta #'atom?) => {:name 'atom?, :ns *ns*}
(link-sources sources {:keys [ns path resolve] :as opts :or {resolve :auto}})
helper function for link
helper function for `link`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close