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

Method recursor_dump_matches_id

crates/kernel/src/inductive.rs:1383–1387  ·  view source on GitHub ↗
(&self, id: &KId<M>)

Source from the content-addressed store, hash-verified

1381 let seed_name = aux_seed_names[source_idx].clone();
1382 let aux_addr = aux_id.addr.clone();
1383 let (ext_ty, ext_ctors, ext_n_params, ext_n_indices) =
1384 match self.get_const(&member.id)? {
1385 KConst::Indc { ty, ctors, params, indices, .. } => {
1386 (ty.clone(), ctors.clone(), params, indices)
1387 },
1388 _ => {
1389 return Err(TcError::Other(
1390 "canonical_aux_order: aux ext is not an inductive".into(),

Callers 1

check_recursor_memberMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected