MCPcopy Create free account
hub / github.com/argumentcomputer/ix / const_meta_name_does_not_affect_hash

Function const_meta_name_does_not_affect_hash

crates/kernel/src/expr.rs:864–871  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

862 ExprData::Str(val, _, _) => write!(f, "{val:?}"),
863 }
864}
865
866fn collect_spine<M: KernelMode>(e: &KExpr<M>) -> (KExpr<M>, Vec<KExpr<M>>) {
867 let mut args = Vec::new();
868 let mut cur = e.clone();
869 while let ExprData::App(func, arg, _) = cur.data() {
870 args.push(arg.clone());
871 cur = func.clone();
872 }
873 args.reverse();
874 (cur, args)

Callers

nothing calls this directly

Calls 3

cnstFunction · 0.70
mk_addrFunction · 0.70
mk_nameFunction · 0.70

Tested by

no test coverage detected