Utilities for finding function dependencies and references.
Utilities for finding function dependencies and references.
We don't want parallel evaluation - easily dangerous.
We don't want parallel evaluation - easily dangerous.
(fn-deps v)Returns a set with all the functions invoked inside v or any contained anonymous functions.
v can be a function value, a var or a symbol.
If a function was defined multiple times, old lambda deps will
be returned.
This does not return functions marked with meta :inline like +
since they are already compiled away at this point.
Returns a set with all the functions invoked inside `v` or any contained anonymous functions. `v` can be a function value, a var or a symbol. If a function was defined multiple times, old lambda deps will be returned. This does not return functions marked with meta :inline like `+` since they are already compiled away at this point.
(fn-deps-class v)Returns a set with all the functions invoked by v.
v can be a function class or a symbol.
Returns a set with all the functions invoked by `v`. `v` can be a function class or a symbol.
(fn-refs v)Find all functions that refer var.
var can be a function value, a var or a symbol.
Find all functions that refer `var`. `var` can be a function value, a var or a symbol.
(fn-transitive-deps v)Returns a set with all the functions invoked inside v or inside those functions.
v can be a function value, a var or a symbol.
Returns a set with all the functions invoked inside `v` or inside those functions. `v` can be a function value, a var or a symbol.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |