Liking cljdoc? Tell your friends :D

com.xadecimal.mutable-var.var-scope-impl


add-var-scopeclj

(add-var-scope body)

Takes body, and for every (var sym value) forms, which we call var-initialization forms, it'll nest all forms that come after it inside our ->var-initialization generating form.

'((println 100) (var i 10) (+ i i))

becomes:

(var-assignment-and-access (println 100) (let [i 10] (var-initialization i (var-assignment-and-access (+ i i)))))

Takes body, and for every (var sym value) forms, which we call
var-initialization forms, it'll nest all forms that come after it
inside our ->var-initialization generating form.

'((println 100)
  (var i 10)
  (+ i i))

becomes:

(var-assignment-and-access
  (println 100)
  (let [i 10]
    (var-initialization i
      (var-assignment-and-access (+ i i)))))
sourceraw docstring

object-array2clj

(object-array2 _size init-value)

Creates an array of objects of size 1 with value as init-value. We use this because object-array differs in signature to all other typed array constructors, so we provide an object-array2 that follows the same pattern of [size init-val]

Creates an array of objects of size 1 with value as init-value.
We use this because object-array differs in signature to all other
typed array constructors, so we provide an object-array2 that follows
the same pattern of [size init-val]
sourceraw docstring

var-assignment-and-accesscljmacro

(var-assignment-and-access & body)
source

var-initializationcljmacro

(var-initialization var-sym & body)
source

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

× close