Method
app_mdata_with_addr
(
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
Tested by
no test coverage detected