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

Function decode_recursor_rule

crates/ffi/src/lean_env.rs:870–879  ·  view source on GitHub ↗
(
  obj: LeanBorrowed<'_>,
  cache: &mut Cache<'_>,
)

Source from the content-addressed store, hash-verified

868 5 => {
869 let f = decode_expr(e.get_obj(0), cache);
870 let a = decode_expr(e.get_obj(1), cache);
871 Expr::app(f, a)
872 },
873 6 => {
874 let binder_name = decode_name(e.get_obj(0), cache.global);
875 let binder_typ = decode_expr(e.get_obj(1), cache);
876 let body = decode_expr(e.get_obj(2), cache);
877 let binder_info = decode_binder_info(e.get_num_8(0));
878 Expr::lam(binder_name, binder_typ, body, binder_info)
879 },
880 7 => {
881 let binder_name = decode_name(e.get_obj(0), cache.global);
882 let binder_typ = decode_expr(e.get_obj(1), cache);

Callers 1

decode_constant_infoFunction · 0.85

Calls 2

decode_nameFunction · 0.85
decode_exprFunction · 0.85

Tested by

no test coverage detected