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

Function mk_id

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

Source from the content-addressed store, hash-verified

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 },
4519 _ => return Ok(false),
4520 };
4521

Callers 15

cnstFunction · 0.70
bool_envFunction · 0.70
check_bool_recFunction · 0.70
nat_envFunction · 0.70
check_nat_recFunction · 0.70
nat_rec_rulesFunction · 0.70
list_envFunction · 0.70
check_list_inductiveFunction · 0.70
nested_tree_envFunction · 0.70

Calls 1

mk_addrFunction · 0.70