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

Method intern

crates/kernel/src/tc.rs:970–972  ·  view source on GitHub ↗

Intern an expression through the mutable intern environment.

(&mut self, e: KExpr<M>)

Source from the content-addressed store, hash-verified

968 f: impl FnOnce(&mut Self) -> R,
969 ) -> R {
970 let saved = self.lctx.len();
971 let result = f(self);
972 self.lctx.truncate(saved);
973 result
974 }
975

Callers 15

count_forallsMethod · 0.80
quick_def_eqMethod · 0.80
is_def_eq_whnfMethod · 0.80
try_eta_expansionMethod · 0.80
try_eta_structMethod · 0.80
whnf_no_delta_implMethod · 0.80
try_delta_unfoldMethod · 0.80
apply_iota_argMethod · 0.80
try_struct_eta_iotaMethod · 0.80
synth_ctor_when_kMethod · 0.80

Calls 1

intern_exprMethod · 0.80

Tested by

no test coverage detected