(drop-quote sexp)
Convert (quote (a b c)) to (a b c).
Convert (quote (a b c)) to (a b c).
(simple-type sexp)
Because Clojure doesn't have this built-in, we must do it the slow way: take an object and return a keyword representing that object.
nil -> :nil
true/false -> :boolean
\c -> :char
1 -> :number
:hello -> :keyword
"hello" -> :string
hello -> :symbol
{:a :b} -> :map
#{:a :b} -> :set
[:a :b] -> :vector
(1 2 3) -> :list
:else -> (type sexp)
Because Clojure doesn't have this built-in, we must do it the slow way: take an object and return a keyword representing that object. ```clojure nil -> :nil true/false -> :boolean \c -> :char 1 -> :number :hello -> :keyword "hello" -> :string hello -> :symbol {:a :b} -> :map #{:a :b} -> :set [:a :b] -> :vector (1 2 3) -> :list :else -> (type sexp) ```
(support-clojure-version? {:keys [major minor incremental]
:as min-clojure-version}
current-version)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close