MCPcopy Index your code
hub / github.com/clojure-rs/ClojureRS / apply_to_persistent_list

Method apply_to_persistent_list

src/value.rs:258–565  ·  view source on GitHub ↗

This function is inherently long, as it is dispatching on all valid function-like (IFn) Value types We could further separate each dispatch case into individual functions, but I don't think that's necessary; its not code that will be reused, and it doesn't make the code inherently shorter, it just moves it around In this case, though, I don't find its movement to be one that would increase clarity

(
        &self,
        environment: &Rc<Environment>,
        args: &Rc<PersistentList>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

eval_to_rcMethod · 0.80
def_with_docstringFunction · 0.80

Calls 15

newFunction · 0.85
eval_to_rcMethod · 0.80
lenMethod · 0.80
unwrapMethod · 0.80
to_rc_valueMethod · 0.80
into_listMethod · 0.80
nthMethod · 0.80
is_truthyMethod · 0.80
invokeMethod · 0.45
getMethod · 0.45
to_valueMethod · 0.45
metaMethod · 0.45

Tested by 1

def_with_docstringFunction · 0.64