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

Function inline_like_flat_block

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

Source from the content-addressed store, hash-verified

6178 ),
6179 ),
6180 );
6181 env.insert(
6182 mk_id("List.cons"),
6183 KConst::Ctor {
6184 name: (),
6185 level_params: (),
6186 is_unsafe: false,
6187 lvls: 1,
6188 induct: mk_id("List"),
6189 cidx: 1,
6190 params: 1,
6191 fields: 2,
6192 ty: cons_ty,
6193 },
6194 );
6195
6196 env.blocks.insert(
6197 tree_block,
6198 vec![mk_id("Tree"), mk_id("Tree.leaf"), mk_id("Tree.node")],
6199 );
6200 env.blocks.insert(
6201 mk_id("List"),
6202 vec![mk_id("List"), mk_id("List.nil"), mk_id("List.cons")],

Callers

nothing calls this directly

Calls 7

inline_like_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