Set of functions and macros to present the online/real-time documentation in different formats.
Set of functions and macros to present the online/real-time documentation in different formats.
(clj-find-ns n)
find-ns alternative, where n can be a str, symbol, or namespace.
find-ns alternative, where n can be a str, symbol, or namespace.
(clj-namespace? n)
Predicate to test whether n is a clj-namespace object or not.
Predicate to test whether n is a clj-namespace object or not.
(clj-ns-resolve s)
(clj-ns-resolve n s)
(clj-ns-resolve n e s)
ns-resolve alternative, where n can be a str, symbol, or namespace, and s can be a string or symbol. Returns s when it's already a var or class. Returns nil when s refers to a namespace instead of throwing a fit. n defaults to ns.
ns-resolve alternative, where n can be a str, symbol, or namespace, and s can be a string or symbol. Returns s when it's already a var or class. Returns nil when s refers to a namespace instead of throwing a fit. n defaults to *ns*.
(clj-resolve-name s)
(clj-resolve-name n s)
Combination of clj-ns-resolve and clj-find-ns as it tries to resolve s to either a namespace, var or class.
Combination of clj-ns-resolve and clj-find-ns as it tries to resolve s to either a namespace, var or class.
(clj-the-ns n)
the-ns alternative, where n can be a str, symbol, or namespace.
the-ns alternative, where n can be a str, symbol, or namespace.
(fqname o)
(fqname n o)
fqname returns the fully qualified string-name of existing object o, or returns the fqn of the existing object that o resolves to. Returns nil if no fqn is found or applicable.
fqname returns the fully qualified string-name of existing object o, or returns the fqn of the existing object that o resolves to. Returns nil if no fqn is found or applicable.
(fqname-sym o)
(fqname-sym n o)
fqname returns the fully qualified symbol-name of existing object o, or returns the fqn of the object o resolves to. Returns nil if no fqn is found or applicable.
fqname returns the fully qualified symbol-name of existing object o, or returns the fqn of the object o resolves to. Returns nil if no fqn is found or applicable.
Protocol to dispatch on the fqname by type.
Protocol to dispatch on the fqname by type.
(-fqname o)
(-fqname o n)
Returns a string with the fully qualified name of an existing object that is either o or o will resolve to it. The optional namespace n may be used for resolution - defaults to ns. Returns nil when no real object exists or o cannot resolve to real object.
Returns a string with the fully qualified name of an existing object that is either o or o will resolve to it. The optional namespace n may be used for resolution - defaults to *ns*. Returns nil when no real object exists or o cannot resolve to real object.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close