Skip to main content

Module apply

Module apply 

Source
Expand description

Function application and the recur trampoline.

Structs§

ClosureThunk
A Thunk that calls a zero-arg Clojure closure when forced.

Functions§

bind_fn_params
Bind function parameters in the current (top) frame.
call_cljrs_fn
Tree-walking execution path (original implementation).
dispatch_method
Dispatch (.method target args…) on an already-evaluated target.
eval_alter_var_root
Execute alter-var-root with already-evaluated args: [var, f, extra...].
eval_call
Evaluate a call expression (func-form arg1 arg2 ...).
eval_reset_bang
Execute reset! with already-evaluated args: [atom, new-val].
eval_send_to_agent
Execute send / send-off with already-evaluated args: [agent, f, extra...].
eval_swap_bang
Execute swap! with already-evaluated args: [atom, f, extra...].
eval_vary_meta
Execute vary-meta with already-evaluated args: [obj, f, extra...].
eval_volatile
Execute volatile! with already-evaluated args: [init-val].
eval_vreset_bang
Execute vreset! with already-evaluated args: [volatile, new-val].
eval_vswap_bang
Execute vswap! with already-evaluated args: [volatile, f, extra...].
eval_with_bindings_star
Execute with-bindings* with already-evaluated args: [bindings-map, f].
handle_make_lazy_seq
Handle (make-lazy-seq f) — wraps a zero-arg fn in a lazy sequence.
make_delay_from_fn
Wrap a zero-arg callable in a Value::Delay.
make_lazy_seq_from_fn
Wrap a zero-arg callable value in a Value::LazySeq whose force calls it.
resolve_type_tag
Resolve a type symbol from extend-type to a canonical tag. Canonical tags ARE the short names, so this just passes through.
select_arity
Select the matching arity for the given argument count.