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

Function def_eq_sort_diff

crates/kernel/src/def_eq.rs:1872–1878  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1870 .iter()
1871 .take(6)
1872 .map(compact_def_eq_head)
1873 .collect::<Vec<_>>()
1874 .join(", ");
1875 let more = if args.len() > 6 { ", ..." } else { "" };
1876 format!("{base}/{} [{shown}{more}]@{}", args.len(), short_def_eq_addr(e))
1877 }
1878}
1879
1880fn compact_def_eq_head<M: KernelMode>(e: &KExpr<M>) -> String {
1881 let (head, args) = collect_app_spine(e);

Callers

nothing calls this directly

Calls 2

sortFunction · 0.85
env_with_idFunction · 0.70

Tested by

no test coverage detected