@[reducible, inline]
Instances For
Instances For
def
Lean.Compiler.LCNF.getDeclCore?
(env : Lean.Environment)
(ext : Lean.Compiler.LCNF.DeclExt)
(declName : Lean.Name)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Compiler.LCNF.getBaseDecl? declName = do let __do_lift ← Lean.getEnv pure (Lean.Compiler.LCNF.getDeclCore? __do_lift Lean.Compiler.LCNF.baseExt declName)
Instances For
Equations
- Lean.Compiler.LCNF.getMonoDecl? declName = do let __do_lift ← Lean.getEnv pure (Lean.Compiler.LCNF.getDeclCore? __do_lift Lean.Compiler.LCNF.monoExt declName)
Instances For
Instances For
Equations
- Lean.Compiler.LCNF.saveMonoDeclCore env decl = Lean.Compiler.LCNF.monoExt.addEntry (env.addExtraName decl.name) decl
Instances For
Equations
- decl.saveBase = Lean.modifyEnv fun (x : Lean.Environment) => Lean.Compiler.LCNF.saveBaseDeclCore x decl
Instances For
Equations
- decl.saveMono = Lean.modifyEnv fun (x : Lean.Environment) => Lean.Compiler.LCNF.saveMonoDeclCore x decl
Instances For
Instances For
Equations
- Lean.Compiler.LCNF.getDeclAt? declName Lean.Compiler.LCNF.Phase.base = Lean.Compiler.LCNF.getBaseDecl? declName
- Lean.Compiler.LCNF.getDeclAt? declName Lean.Compiler.LCNF.Phase.mono = Lean.Compiler.LCNF.getMonoDecl? declName
- Lean.Compiler.LCNF.getDeclAt? declName phase = pure none
Instances For
Instances For
Instances For
def
Lean.Compiler.LCNF.forEachDecl
(f : Lean.Compiler.LCNF.Decl → Lean.CoreM Unit)
(phase : Lean.Compiler.LCNF.Phase := Lean.Compiler.LCNF.Phase.base)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Compiler.LCNF.forEachModuleDecl
(moduleName : Lean.Name)
(f : Lean.Compiler.LCNF.Decl → Lean.CoreM Unit)
(phase : Lean.Compiler.LCNF.Phase := Lean.Compiler.LCNF.Phase.base)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Compiler.LCNF.forEachMainModuleDecl
(f : Lean.Compiler.LCNF.Decl → Lean.CoreM Unit)
(phase : Lean.Compiler.LCNF.Phase := Lean.Compiler.LCNF.Phase.base)
: