The maximum number of saves per id.
The maximum number of saves per id.
(get-env)
Returns the locally defined variables and their values.
Returns the locally defined variables and their values.
(inspect-map map-to-print
&
{:keys [desired-level safe-count]
:or {desired-level 4 safe-count 10}})
(ld id)
(ld id pos)
Loads the local bindings that have been saved using save
with id
as parameter.
Loads the local bindings that have been saved using `save` with `id` as parameter.
(new* ref id)
(new* ref id bindings)
Creates a new save at id
, with bindings
containing the local bindings from where save
was called.
Creates a new save at `id`, with `bindings` containing the local bindings from where `save` was called.
(save & args)
Used to save all local bindings, takes an identifier as a parameter.
The identifier is used with ld
in order to load the local bindings where save
was called.
Used to save all local bindings, takes an identifier as a parameter. The identifier is used with `ld` in order to load the local bindings where `save` was called.
(save-ns* ns)
Applies save-var*
to all function vars in a namespace.
Applies `save-var*` to all function vars in a namespace.
(save-var* v)
(save-var* ns s)
Applies save-wrapper
to a var, which means that whenever that var is called,
it will save all args and return values of that function.
Check save-wrapper
for more information.
Applies `save-wrapper` to a var, which means that whenever that var is called, it will save all args and return values of that function. Check `save-wrapper` for more information.
(save-wrapper f-var f args)
f-var should be a var or symbol holding a IFn, and f the actual function.
Returns a function that will save all args and return values when being called.
The data will be stored in f-saves
.
f-var should be a var or symbol holding a IFn, and f the actual function. Returns a function that will save all args and return values when being called. The data will be stored in `f-saves`.
(unsave-ns* ns)
Applies unsave-var*
to all function vars in a namespace.
Applies `unsave-var*` to all function vars in a namespace.
(unsave-var* v)
(unsave-var* ns s)
The opposite of save-var*
, restores the var to its original state.
The opposite of `save-var*`, restores the var to its original state.
(which-args arg-names-list n-args)
Takes a list of arg-names, e.g. ([x] [x y] [x y {:keys [a b]}]) and a number. Returns the arg-names that matches n-args.
Takes a list of arg-names, e.g. ([x] [x y] [x y {:keys [a b]}]) and a number. Returns the arg-names that matches n-args.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close