@[reducible, inline]
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
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
Equations
- Lean.Compiler.LCNF.saveBaseDeclCore env decl = Lean.Compiler.LCNF.baseExt.addEntry (env.addExtraName decl.name) decl
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
Equations
- One or more equations did not get rendered due to their size.
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
Equations
- Lean.Compiler.LCNF.getDecl? declName = do let __do_lift ← Lean.Compiler.LCNF.getPhase liftM (Lean.Compiler.LCNF.getDeclAt? declName __do_lift)
Instances For
Equations
- Lean.Compiler.LCNF.getExt Lean.Compiler.LCNF.Phase.base = Lean.Compiler.LCNF.baseExt
- Lean.Compiler.LCNF.getExt Lean.Compiler.LCNF.Phase.mono = Lean.Compiler.LCNF.monoExt
- Lean.Compiler.LCNF.getExt phase = panicWithPosWithDecl "Lean.Compiler.LCNF.PhaseExt" "Lean.Compiler.LCNF.getExt" 82 9 "unreachable code has been reached"
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)
:
Equations
- One or more equations did not get rendered due to their size.