Equations
- Lean.ClassEntry.lt a b = Lean.Name.quickLt a.name b.name
Equations
- Lean.instInhabitedClassState = { default := { hasOutParam := default } }
Equations
- Lean.ClassState.addEntry s entry = { hasOutParam := Lean.SMap.insert s.hasOutParam entry.name entry.hasOutParam }
Equations
- Lean.ClassState.switch s = { hasOutParam := Lean.SMap.switch s.hasOutParam }
@[export lean_is_class]
Equations
- Lean.isClass env n = Lean.SMap.contains (Lean.SimplePersistentEnvExtension.getState Lean.classExtension env).hasOutParam n
@[export lean_has_out_params]
Equations
- Lean.hasOutParams env n = match Lean.SMap.find? (Lean.SimplePersistentEnvExtension.getState Lean.classExtension env).hasOutParam n with | some b => b | none => false
Equations
- One or more equations did not get rendered due to their size.