- specialize: Lean.Compiler.SpecializeAttributeKind
- nospecialize: Lean.Compiler.SpecializeAttributeKind
Instances For
Equations
- Lean.Compiler.getSpecializationArgs? env declName = Lean.ParametricAttribute.getParam? Lean.Compiler.specializeAttr env declName
Instances For
Equations
- Lean.Compiler.hasSpecializeAttribute env declName = Option.isSome (Lean.Compiler.getSpecializationArgs? env declName)
Instances For
Equations
- Lean.Compiler.hasNospecializeAttribute env declName = Lean.TagAttribute.hasTag Lean.Compiler.nospecializeAttr env declName
Instances For
@[export lean_has_specialize_attribute]
@[export lean_has_nospecialize_attribute]
- fixed: Lean.Compiler.SpecArgKind
- fixedNeutral: Lean.Compiler.SpecArgKind
- fixedHO: Lean.Compiler.SpecArgKind
- fixedInst: Lean.Compiler.SpecArgKind
- other: Lean.Compiler.SpecArgKind
Instances For
Equations
- argKinds : List Lean.Compiler.SpecArgKind
Instances For
Equations
- Lean.Compiler.instInhabitedSpecInfo = { default := { mutualDecls := default, argKinds := default } }
- specInfo : Lean.SMap Lake.Name Lean.Compiler.SpecInfo
Instances For
Equations
- Lean.Compiler.instInhabitedSpecState = { default := { specInfo := default, cache := default } }
- info: Lake.Name → Lean.Compiler.SpecInfo → Lean.Compiler.SpecEntry
- cache: Lean.Expr → Lake.Name → Lean.Compiler.SpecEntry
Instances For
Equations
- Lean.Compiler.instInhabitedSpecEntry = { default := Lean.Compiler.SpecEntry.info default default }
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Compiler.SpecState.switch x = match x with | { specInfo := m₁, cache := m₂ } => { specInfo := Lean.SMap.switch m₁, cache := Lean.SMap.switch m₂ }
Instances For
@[export lean_add_specialization_info]
def
Lean.Compiler.addSpecializationInfo
(env : Lean.Environment)
(fn : Lake.Name)
(info : Lean.Compiler.SpecInfo)
:
Equations
Instances For
@[export lean_get_specialization_info]
Equations
Instances For
@[export lean_cache_specialization]
Equations
Instances For
@[export lean_get_cached_specialization]