Liking cljdoc? Tell your friends :D

clj-info.utils

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.
raw docstring

clj-find-nsclj

(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.
sourceraw docstring

clj-namespace?clj

(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.
sourceraw docstring

clj-ns-resolveclj

(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*.
sourceraw docstring

clj-resolve-nameclj

(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.
sourceraw docstring

clj-the-nsclj

(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.
sourceraw docstring

fqnameclj

(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.
sourceraw docstring

fqname-symclj

(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.
sourceraw docstring

IFQNameablecljprotocol

Protocol to dispatch on the fqname by type.

Protocol to dispatch on the fqname by type.

-fqnameclj

(-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.
sourceraw docstring

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

× close