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

Method app_mdata_with_addr

crates/kernel/src/expr.rs:371–385  ·  view source on GitHub ↗
(
    f: KExpr<M>,
    a: KExpr<M>,
    mdata: M::MField<Vec<MData>>,
    addr: Addr,
  )

Source from the content-addressed store, hash-verified

369 univs: Box<[KUniv<M>]>,
370 mdata: M::MField<Vec<MData>>,
371 addr: Addr,
372 ) -> Self {
373 KExpr::new(ExprData::Const(
374 id,
375 univs,
376 mk_info::<M>(addr, 0, 0, false, mdata),
377 ))
378 }
379
380 pub fn cnst_mdata(
381 id: KId<M>,
382 univs: Box<[KUniv<M>]>,
383 mdata: M::MField<Vec<MData>>,
384 ) -> Self {
385 let addr = fresh_uid();
386 Self::cnst_mdata_with_addr(id, univs, mdata, addr)
387 }
388

Callers

nothing calls this directly

Calls 4

lbrMethod · 0.80
count_0Method · 0.80
has_fvarsMethod · 0.80
maxMethod · 0.45

Tested by

no test coverage detected