Iterate decls in insertion order.
(&self)
| 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. |