Functions to help working with namespaces.
Functions to help working with namespaces.
(call-by-name s)
(call-by-name s & args)
Resolves a function by name 's' and calls it.
Resolves a function by name 's' and calls it.
(call-by-ns-name nsp s)
(call-by-ns-name nsp s & args)
Resolves a function by name 's' in the given namespace 'nsp' and calls it.
Resolves a function by name 's' in the given namespace 'nsp' and calls it.
(file-to-ns filename)
Converts a filename into a namespace.
Converts a filename into a namespace.
(filename-to-ns filename)
Converts a filename into a namespace.
Converts a filename into a namespace.
(ns-to-file nsp)
Converts a namespace into a fileneame.
Converts a namespace into a fileneame.
(ns-to-filename nsp)
Converts a namespace 'nsp' into a filename.
Converts a namespace 'nsp' into a filename.
(ns-to-path nsp)
Converts a namespace 'nsp' into a path.
Converts a namespace 'nsp' into a path.
(path-to-ns path)
Converts a 'path' into a namespace.
Converts a 'path' into a namespace.
(record-name s)
Converts s to camel cased clojure record name.
Converts s to camel cased clojure record name.
(symbol-name s)
Converts s to hyphened clojure symbol name.
Converts s to hyphened clojure symbol name.
(unqualify-keyword k)
Strips the namespace of keyword 'k' and returns it as an unqualified keyword.
Strips the namespace of keyword 'k' and returns it as an unqualified keyword.
(unqualify-map m)
Returns a copy of the given map m, in which all qualified keys have been replaced with their unqualified variant.
Returns a copy of the given map m, in which all qualified keys have been replaced with their unqualified variant.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close