@[inline]
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Compiler.LCNF.getBaseDecl? declName = do let a ← Lean.getEnv pure (Lean.Compiler.LCNF.getBaseDeclCore? a declName)
Equations
- Lean.Compiler.LCNF.saveBaseDeclCore env decl = let env := Lean.Environment.addExtraName env decl.name; Lean.PersistentEnvExtension.addEntry Lean.Compiler.LCNF.baseExt env decl
Equations
- Lean.Compiler.LCNF.Decl.saveBase decl = Lean.modifyEnv fun a => Lean.Compiler.LCNF.saveBaseDeclCore a decl
Equations
- Lean.Compiler.LCNF.getDeclAt? declName phase = match phase with | Lean.Compiler.LCNF.Phase.base => Lean.Compiler.LCNF.getBaseDecl? declName | x => pure none
Equations
- Lean.Compiler.LCNF.getDecl? declName = do let a ← Lean.Compiler.LCNF.getPhase liftM (Lean.Compiler.LCNF.getDeclAt? declName a)
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Compiler.LCNF.forEachModuleDecl
(moduleName : Lean.Name)
(f : Lean.Compiler.LCNF.Decl → Lean.CoreM Unit)
:
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Compiler.LCNF.forEachMainModuleDecl f = do let a ← Lean.getEnv Lean.PersistentHashMap.forM (Lean.PersistentEnvExtension.getState Lean.Compiler.LCNF.baseExt a) fun x decl => f decl