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

Function mk_simple_indc

crates/kernel/src/tutorial/inductive.rs:17–76  ·  view source on GitHub ↗

Helper: build an inductive with no ctors, no recursor, just checking the type

(
    env: &mut KEnv<Meta>,
    name: &str,
    lvls: u64,
    level_params: &[Name],
    ty: &ME,
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

bad_induct_non_sort_typeFunction · 0.85

Calls 11

npiFunction · 0.85
sortFunction · 0.85
mk_idFunction · 0.50
mk_nameFunction · 0.50
piFunction · 0.50
cnstFunction · 0.50
paramFunction · 0.50
appFunction · 0.50
varFunction · 0.50
insertMethod · 0.45
cloneMethod · 0.45

Tested by 3

bad_induct_non_sort_typeFunction · 0.68