Documentation

Lean.Structure

structure Lean.StructureFieldInfo :
Type
Equations
structure Lean.StructureInfo :
Type
Equations
Equations
structure Lean.StructureDescr :
Type
Equations
Equations
Equations
Equations
Equations
def Lean.isSubobjectField? (env : Lean.Environment) (structName : Lean.Name) (fieldName : Lean.Name) :
Equations
Equations
Equations
partial def Lean.findField? (env : Lean.Environment) (structName : Lean.Name) (fieldName : Lean.Name) :
def Lean.getStructureFieldsFlattened (env : Lean.Environment) (structName : Lean.Name) (includeSubobjectFields : optParam Bool true) :
Equations
def Lean.isStructure (env : Lean.Environment) (constName : Lean.Name) :
Equations
def Lean.getProjFnForField? (env : Lean.Environment) (structName : Lean.Name) (fieldName : Lean.Name) :
Equations
Equations
Equations
partial def Lean.getPathToBaseStructureAux (env : Lean.Environment) (baseStructName : Lean.Name) (structName : Lean.Name) (path : List Lean.Name) :
def Lean.getPathToBaseStructure? (env : Lean.Environment) (baseStructName : Lean.Name) (structName : Lean.Name) :
Equations
Equations
Equations