Shared utilities between clojure and clojurescript.
Shared utilities between clojure and clojurescript.
(arithmetic-ex s)
(bigint x)
(biginteger x)
(counted f)
(counted f initial-count)
Takes a function and returns a pair of:
Takes a function and returns a pair of: - an atom that keeps track of fn invocation counts, - the instrumented fn
(double x)
(exception s)
(failure-to-converge s)
(illegal s)
(illegal-state s)
(import-def from-ns def-name)
import a single fn or var (import-def a b) => (def b a/b)
import a single fn or var (import-def a b) => (def b a/b)
(import-vars & imports)
import multiple defs from multiple namespaces works for vars and fns. not macros. (same syntax as potemkin.namespaces/import-vars) (import-vars [m.n.ns1 a b] [x.y.ns2 d e f]) => (def a m.n.ns1/a) (def b m.n.ns1/b) ... (def d m.n.ns2/d) ... etc
import multiple defs from multiple namespaces works for vars and fns. not macros. (same syntax as potemkin.namespaces/import-vars) (import-vars [m.n.ns1 a b] [x.y.ns2 d e f]) => (def a m.n.ns1/a) (def b m.n.ns1/b) ... (def d m.n.ns2/d) ... etc
(int x)
(keyset m)
(long x)
(parse-bigint x)
(timeout-ex s)
(unsupported s)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close