def
Lean.Environment.addDecl
(env : Lean.Environment)
(opts : Lean.Options)
(decl : Lean.Declaration)
:
Equations
- env.addDecl opts decl = env.addDeclCore (Lean.Core.getMaxHeartbeats opts).toUSize decl
Instances For
def
Lean.Environment.addAndCompile
(env : Lean.Environment)
(opts : Lean.Options)
(decl : Lean.Declaration)
:
Equations
- env.addAndCompile opts decl = do let env ← env.addDecl opts decl env.compileDecl opts decl
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.addAndCompile decl = do Lean.addDecl decl Lean.compileDecl decl