Liking cljdoc? Tell your friends :D

datascript.util


*debug*clj/s

source

concatvclj/s

(concatv & xs)
source

cond+cljmacro

(cond+ & clauses)
source

conjsclj/s

source

conjvclj/s

source

distinct-byclj/s

(distinct-by f coll)
source

findclj/s

(find pred xs)
source

if+cljmacro

(if+ cond then else)

Allows sharing local variables between condition and then clause.

Use :let [...] form (not nested!) inside and condition and its bindings will be visible in later and clauses and inside then branch:

(if+ (and (= 1 2) ;; same :let syntax as in doseq/for :let [x 3 y (+ x 4)] ;; x and y visible downstream (> y x))

;; then: x and y visible here!
(+ x y 5)

;; else: no x or y
6)
Allows sharing local variables between condition and then clause.

Use `:let [...]` form (not nested!) inside `and` condition and its bindings
will be visible in later `and` clauses and inside `then` branch:

  (if+ (and
         (= 1 2)
         ;; same :let syntax as in doseq/for
         :let [x 3
               y (+ x 4)]
         ;; x and y visible downstream
         (> y x))
    
    ;; then: x and y visible here!
    (+ x y 5)
    
    ;; else: no x or y
    6)
sourceraw docstring

logcljmacro

(log & body)
source

raisecljmacro

(raise & fragments)
source

reduce-indexedclj/s

(reduce-indexed f init xs)

Same as reduce, but f takes [acc el idx]

Same as reduce, but `f` takes [acc el idx]
sourceraw docstring

removemclj/s

(removem key-pred m)
source

singleclj/s

(single coll)
source

some-ofcljmacro

(some-of)
(some-of x)
(some-of x & more)
source

squuidclj/s

(squuid)
(squuid msec)
source

squuid-time-millisclj/s

(squuid-time-millis uuid)

Returns time that was used in squuid call, in milliseconds, rounded to the closest second.

Returns time that was used in [[squuid]] call, in milliseconds, rounded to the closest second.
sourceraw docstring

zipclj/s

(zip a b)
(zip a b & rest)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close