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

Function compile_const

crates/compile/src/compile.rs:3004–3013  ·  view source on GitHub ↗

Compile a single constant.

(
  name: &Name,
  all: &NameSet,
  lean_env: &Arc<LeanEnv>,
  cache: &mut BlockCache,
  stt: &CompileState,
  kctx: &mut KernelCtx,
)

Source from the content-addressed store, hash-verified

3002 )?,
3003 || {
3004 compare_expr(
3005 &x.value,
3006 &y.value,
3007 mut_ctx,
3008 &x.level_params,
3009 &y.level_params,
3010 stt,
3011 )
3012 },
3013 )
3014 },
3015 )
3016 },

Callers 5

test_compile_axiomFunction · 0.85
test_compile_simple_defFunction · 0.85
compile_env_with_optionsFunction · 0.85

Calls 1

compile_const_innerFunction · 0.85

Tested by 3

test_compile_axiomFunction · 0.68
test_compile_simple_defFunction · 0.68