Liking cljdoc? Tell your friends :D

eastwood.copieddeps.dep1.clojure.tools.analyzer.utils


-source-infoclj

(-source-info x env)

Returns the source-info of x

Returns the source-info of x
raw docstring

arglist-for-arityclj

(arglist-for-arity fn argc)

Takes a fn node and an argc and returns the matching arglist

Takes a fn node and an argc and returns the matching arglist
raw docstring

boolean?clj

(boolean? x)

Returns true if x is a boolean

Returns true if x is a boolean
raw docstring

butlast+lastclj

(butlast+last s)

Returns same value as (juxt butlast last), but slightly more efficient since it only traverses the input sequence s once, not twice.

Returns same value as (juxt butlast last), but slightly more
efficient since it only traverses the input sequence s once, not
twice.
raw docstring

classifyclj

(classify form)

Returns a keyword describing the form type

Returns a keyword describing the form type
raw docstring

compile-ifcljmacro

(compile-if exp then & else)

const-valclj

(const-val {:keys [form val]})

Returns the value of a constant node (either :quote or :const)

Returns the value of a constant node (either :quote or :const)
raw docstring

constant?clj

(constant? var)
(constant? var m)

Returns true if the var is a const

Returns true if the var is a const
raw docstring

ctxclj

(ctx env ctx)

Returns a copy of the passed environment with :context set to ctx

Returns a copy of the passed environment with :context set to ctx
raw docstring

dissoc-envclj

(dissoc-env ast)

Dissocs :env from the ast

Dissocs :env from the ast
raw docstring

dynamic?clj

(dynamic? var)
(dynamic? var m)

Returns true if the var is dynamic

Returns true if the var is dynamic
raw docstring

into!clj

(into! to from)

Like into, but for transients

Like into, but for transients
raw docstring

macro?clj

(macro? var)
(macro? var m)

Returns true if the var maps to a macro

Returns true if the var maps to a macro
raw docstring

mapv'clj

(mapv' f v)

Like mapv, but short-circuits on reduced

Like mapv, but short-circuits on reduced
raw docstring

merge'clj

(merge' m & mms)

Like merge, but uses transients

Like merge, but uses transients
raw docstring

mmergeclj

Same as (fn [m1 m2] (merge-with merge m2 m1))

Same as (fn [m1 m2] (merge-with merge m2 m1))
raw docstring

obj?clj

(obj? x)

Returns true if x implements IObj

Returns true if x implements IObj
raw docstring

private?clj

(private? var)
(private? var m)

Returns true if the var is private

Returns true if the var is private
raw docstring

protocol-node?clj

(protocol-node? var)
(protocol-node? var m)

Returns true if the var maps to a protocol function

Returns true if the var maps to a protocol function
raw docstring

record?clj

(record? x)

Returns true if x is a record

Returns true if x is a record
raw docstring

reference?clj

(reference? x)

Returns true if x implements IReference

Returns true if x implements IReference
raw docstring

regex?clj

(regex? x)

Returns true if x is a regex

Returns true if x is a regex
raw docstring

resolve-nsclj

(resolve-ns ns-sym {:keys [ns]})

Resolves the ns mapped by the given sym in the global env

Resolves the ns mapped by the given sym in the global env
raw docstring

resolve-symclj

(resolve-sym sym {:keys [ns] :as env})

Resolves the value mapped by the given sym in the global env

Resolves the value mapped by the given sym in the global env
raw docstring

rseqvclj

(rseqv v)

Same as (comp vec rseq)

Same as (comp vec rseq)
raw docstring

select-keys'clj

(select-keys' map keyseq)

Like clojure.core/select-keys, but uses transients and doesn't preserve meta

Like clojure.core/select-keys, but uses transients and doesn't preserve meta
raw docstring

source-infoclj

(source-info m)

Returns the available source-info keys from a map

Returns the available source-info keys from a map
raw docstring

type?clj

(type? x)

Returns true if x is a type

Returns true if x is a type
raw docstring

update-keysclj

(update-keys m f)

Applies f to all the keys in the map

Applies f to all the keys in the map
raw docstring

update-kvclj

(update-kv m f)

Applies f to all the keys and vals in the map

Applies f to all the keys and vals in the map
raw docstring

update-valsclj

(update-vals m f)

Applies f to all the vals in the map

Applies f to all the vals in the map
raw docstring

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

× close