Liking cljdoc? Tell your friends :D

sicmutils.util

Shared utilities between clojure and clojurescript.

Shared utilities between clojure and clojurescript.
raw docstring

arithmetic-exclj/s

(arithmetic-ex s)

bigintclj/s

(bigint x)

bigintegerclj/s

(biginteger x)

biginttypeclj/s


compute-absclj/s


compute-exptclj/s


compute-sqrtclj/s


countedclj/s

(counted f)
(counted f initial-count)

Takes a function and returns a pair of:

  • an atom that keeps track of fn invocation counts,
  • the instrumented fn
Takes a function and returns a pair of:

- an atom that keeps track of fn invocation counts,
- the instrumented fn
raw docstring

doubleclj/s

(double x)

exceptionclj/s

(exception s)

failure-to-convergeclj/s

(failure-to-converge s)

illegalclj/s

(illegal s)

illegal-stateclj/s

(illegal-state s)

import-defclj/smacro

(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)
raw docstring

import-varsclj/smacro

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

intclj/s

(int x)

inttypeclj/s


keysetclj/s

(keyset m)

longclj/s

(long x)

longtypeclj/s


parse-bigintclj/s

(parse-bigint x)

timeout-exclj/s

(timeout-ex s)

unsupportedclj/s

(unsupported s)

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

× close