Liking cljdoc? Tell your friends :D

day8.re-frame.debux.common.util

Utilities common for clojure and clojurescript

Utilities common for clojure and clojurescript
raw docstring

anon-gensym-patternclj/s

source

anon-param-patternclj/s

source

auto-gensym-patternclj/s

source

cljs-env?clj/s

(cljs-env? env)
source

dclj/smacro

(d form)

The internal macro to debug dbg macro.

<form any> a form to be evaluated

The internal macro to debug dbg macro.
<form any> a form to be evaluated
sourceraw docstring

debux-skip-symbol?clj/s

(debux-skip-symbol? sym)
source

final-target?clj

(final-target? sym targets env)
source

form-headerclj/s

(form-header form & [msg])
source

form-tree-seqclj/s

(form-tree-seq form)
source

include-recur?clj/s

(include-recur? form)
source

indent-level*clj/s

source

insert-blank-lineclj/s

(insert-blank-line)
source

make-barsclj/s

source

map->seqclj/s

(map->seq m)
source

named-gensym-patternclj/s

source

ns-symbolclj

(ns-symbol sym & [env])
source

o-skip?clj/s

(o-skip? sym)
source

parse-optsclj/s

(parse-opts opts)
source

pprint-result-with-indentclj/s

(pprint-result-with-indent result indent-level)
source

prepend-barsclj/s

(prepend-bars line indent-level)
source

prepend-blanksclj/s

(prepend-blanks lines)
source

(print-form-with-indent form indent-level)
source

source

quote-valclj/s

(quote-val [k v])
source

quote-valsclj/s

(quote-vals m)
source

read-sourceclj/smacro

(read-source sym)
source

remove-dclj/s

(remove-d form d-sym)
source

replace-&clj/s

(replace-& v)
source

reset-indent-level!clj/s

(reset-indent-level!)
source

right-or-nextclj/s

(right-or-next loc)
source

send-form!clj/s

(send-form! form)
source

send-trace!clj/s

(send-trace! code-trace)
source

sequential-zipclj/s

(sequential-zip root)
source

set-print-seq-length!clj/s

(set-print-seq-length! num)
source

spy-compclj/s

(spy-comp quoted-form indent form)
source

spy-firstclj/s

source

spy-first?clj/s

(spy-first? sym)
source

spy-lastclj/s

source

take-n-if-seqclj/s

(take-n-if-seq n result)
source

tidy-macroexpanded-formclj/s

(tidy-macroexpanded-form form state)

Takes a macroexpanded form and tidies it up to be more readable by unmapping gensyms and replacing fully qualified namespaces with aliases or nothing if the function is referred.

Takes a macroexpanded form and tidies it up to be more readable by
unmapping gensyms and replacing fully qualified namespaces with aliases
or nothing if the function is referred.
sourceraw docstring

truncateclj/s

(truncate s)
source

vec->mapclj/s

(vec->map v)

Transsub-forms a vector into an array-map with key/value pairs. (def a 10) (def b 20) (vec-map [a b :c [30 40]]) => {:a 10 :b 20 ::c :c :[30 40] [30 40]}

Transsub-forms a vector into an array-map with key/value pairs.
(def a 10)
(def b 20)
(vec-map [a b :c [30 40]])
=> {:a 10 :b 20 ::c :c :[30 40] [30 40]}
sourceraw docstring

with-gensyms-namesclj/s

(with-gensyms-names form mapping)

Reverse gensym'd names to their original source form to make them easier to read.

Reverse gensym'd names to their original source form to make them easier to read.
sourceraw docstring

with-symbols-namesclj/s

(with-symbols-names form {:keys [context refers aliases] :as state} mapping)

Tidy up fully qualified names that have aliases in the existing namespace.

Tidy up fully qualified names that have aliases in the existing namespace.
sourceraw docstring

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

× close