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

Function mk_addr

crates/kernel/src/inductive.rs:4513–4515  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

4511 /// 2. Result universe is Prop (level is zero)
4512 /// 3. Exactly one constructor with zero non-param fields
4513 fn compute_k_target(&mut self, ind_id: &KId<M>) -> Result<bool, TcError<M>> {
4514 let (ind_params, ind_indices, ctors, block, ty) =
4515 match self.try_get_const(ind_id)? {
4516 Some(KConst::Indc { params, indices, ctors, block, ty, .. }) => {
4517 (params, indices, ctors.clone(), block.clone(), ty.clone())
4518 },

Callers 1

mk_idFunction · 0.70

Calls 1

as_bytesMethod · 0.80

Tested by

no test coverage detected