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

Method iter

crates/kernel/src/lctx.rs:125–127  ·  view source on GitHub ↗

Iterate decls in insertion order.

(&self)

Source from the content-addressed store, hash-verified

123
124 /// Iterate decls in insertion order.
125 pub fn iter(&self) -> impl Iterator<Item = (FVarId, &LocalDecl<M>)> {
126 self.decls.iter().map(|(id, d)| (*id, d))
127 }
128
129 /// Abstract `body` over `fvars` and wrap it in a chain of `Lam` (or `Let`
130 /// for `LDecl` entries) binders, innermost-first.

Callers 1

wrap_bindersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected