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

Method let_mdata

crates/kernel/src/expr.rs:558–568  ·  view source on GitHub ↗
(
    name: M::MField<Name>,
    ty: KExpr<M>,
    val: KExpr<M>,
    body: KExpr<M>,
    non_dep: bool,
    mdata: M::MField<Vec<MData>>,
  )

Source from the content-addressed store, hash-verified

556 mdata: M::MField<Vec<MData>>,
557 ) -> Self {
558 let addr = fresh_uid();
559 Self::app_mdata_with_addr(f, a, mdata, addr)
560 }
561
562 pub fn lam(
563 name: M::MField<Name>,
564 bi: M::MField<BinderInfo>,
565 ty: KExpr<M>,
566 body: KExpr<M>,
567 ) -> Self {
568 Self::lam_mdata(name, bi, ty, body, no_mdata::<M>())
569 }
570
571 /// Compute the content hash for [`KExpr::lam_mdata`].

Callers

nothing calls this directly

Calls 1

let_hashFunction · 0.85

Tested by

no test coverage detected