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

Function lam_meta_name_does_not_affect_hash

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

Source from the content-addressed store, hash-verified

886 type MU = KUniv<Meta>;
887 type AU = KUniv<Anon>;
888
889 fn mk_name(s: &str) -> Name {
890 let mut name = Name::anon();
891 for part in s.split('.') {
892 name = Name::str(name, part.to_string());
893 }
894 name
895 }
896
897 fn mk_addr(s: &str) -> Address {
898 Address::hash(s.as_bytes())
899 }
900
901 // ---- Constructors & hashing ----

Callers

nothing calls this directly

Calls 5

sortFunction · 0.85
varFunction · 0.70
mk_nameFunction · 0.70
lamFunction · 0.70
cloneMethod · 0.45

Tested by

no test coverage detected