Liking cljdoc? Tell your friends :D

noahtheduke.splint.utils


drop-quoteclj

(drop-quote sexp)

Convert (quote (a b c)) to (a b c).

Convert (quote (a b c)) to (a b c).
sourceraw docstring

SexpTypecljprotocol

simple-typeclj

(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)
```
source

simple-literal?clj

(simple-literal? form)
source

support-clojure-version?clj

(support-clojure-version? {:keys [major minor incremental]
                           :as min-clojure-version}
                          current-version)
source

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

× close