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

Function poly_nested_flat_block

crates/kernel/src/inductive.rs:5514–5533  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5512 );
5513 let cons_ty = pi(
5514 AE::sort(param(0)),
5515 pi(
5516 var(0),
5517 pi(
5518 app(cnst("List", &[param(0)]), var(1)),
5519 app(cnst("List", &[param(0)]), var(2)),
5520 ),
5521 ),
5522 );
5523 env.insert(
5524 mk_id("List.cons"),
5525 KConst::Ctor {
5526 name: (),
5527 level_params: (),
5528 is_unsafe: false,
5529 lvls: 1,
5530 induct: mk_id("List"),
5531 cidx: 1,
5532 params: 1,
5533 fields: 2,
5534 ty: cons_ty,
5535 },
5536 );

Callers

nothing calls this directly

Calls 7

poly_nested_envFunction · 0.85
max_rec_fuelFunction · 0.85
check_constMethod · 0.80
mk_idFunction · 0.70
contains_keyMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected