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

Function const_hash

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

Source from the content-addressed store, hash-verified

855 write!(f, ")")
856 },
857 ExprData::Prj(id, field, val, _) => {
858 fmt_expr(val, f, depth + 1)?;
859 write!(f, ".{field}@{id}")
860 },
861 ExprData::Nat(val, _, _) => write!(f, "{val}"),
862 ExprData::Str(val, _, _) => write!(f, "{val:?}"),
863 }
864}

Callers

nothing calls this directly

Calls 2

cnstFunction · 0.70
mk_addrFunction · 0.70

Tested by

no test coverage detected