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

Function subst_app

crates/kernel/src/subst.rs:919–928  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

917 },
918
919 ExprData::FVar(..)
920 | ExprData::Sort(..)
921 | ExprData::Const(..)
922 | ExprData::Nat(..)
923 | ExprData::Str(..) => {
924 let r = body.clone();
925 cache.insert(key, r.clone());
926 return r;
927 },
928 };
929
930 let interned = env.intern_expr(result);
931 cache.insert(key, interned.clone());

Callers

nothing calls this directly

Calls 7

substFunction · 0.85
cnstFunction · 0.70
mk_addrFunction · 0.70
varFunction · 0.70
appFunction · 0.70
natFunction · 0.70
cloneMethod · 0.45

Tested by

no test coverage detected