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

Function hash_int

crates/common/src/env.rs:579–591  ·  view source on GitHub ↗
(i: &Int, hasher: &mut blake3::Hasher)

Source from the content-addressed store, hash-verified

577 InstImplicit,
578}
579
580fn binder_info_tag(bi: &BinderInfo) -> u8 {
581 match bi {
582 BinderInfo::Default => 0,
583 BinderInfo::Implicit => 1,
584 BinderInfo::StrictImplicit => 2,
585 BinderInfo::InstImplicit => 3,
586 }
587}
588
589#[derive(Debug, PartialEq, Eq, Clone, Hash)]
590pub enum Int {
591 OfNat(Nat),
592 NegSucc(Nat),
593}
594

Callers 1

hash_data_valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected