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

bigintclj/s

(bigint x)
source

bigintegerclj/s

(biginteger x)
source

biginttypeclj/s

source

compute-absclj/s

source

compute-exptclj/s

source

compute-sqrtclj/s

source

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
sourceraw docstring

doubleclj/s

(double x)
source

exceptionclj/s

(exception s)
source

failure-to-convergeclj/s

(failure-to-converge s)
source

illegalclj/s

(illegal s)
source

illegal-stateclj/s

(illegal-state s)
source

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)
sourceraw 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
sourceraw docstring

intclj/s

(int x)
source

inttypeclj/s

source

keysetclj/s

(keyset m)
source

longclj/s

(long x)
source

longtypeclj/s

source

parse-bigintclj/s

(parse-bigint x)
source

timeout-exclj/s

(timeout-ex s)
source

unsupportedclj/s

(unsupported s)
source

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

× close