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

Function let_hash

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

Source from the content-addressed store, hash-verified

930
931 #[test]
932 fn const_hash() {
933 let c = AE::cnst(KId::new(mk_addr("Nat"), ()), Box::new([]));
934 assert_eq!(c.lbr(), 0);
935 assert_eq!(c.count_0(), 0);
936 }
937
938 #[test]
939 fn const_meta_name_does_not_affect_hash() {
940 // `id.name` is display-only metadata. Two `Const` nodes with the same

Callers 2

ingress_exprFunction · 0.85
let_mdataMethod · 0.85

Calls 3

let_Function · 0.85
sortFunction · 0.85
varFunction · 0.70

Tested by

no test coverage detected