Documentation
Lean
.
Compiler
.
LCNF
.
StructProjCases
Search
return to top
source
Imports
Lean.Compiler.LCNF.Basic
Lean.Compiler.LCNF.InferType
Lean.Compiler.LCNF.MonoTypes
Lean.Compiler.LCNF.PassManager
Lean.Compiler.LCNF.PrettyPrinter
Imported by
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
findStructCtorInfo?
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
mkFieldParamsForCtorType
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
mkFieldParamsForCtorType
.
loop
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
State
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
M
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
M
.
run
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
remapFVar
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitCode
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitLetValue
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitAlt
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitArg
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitDecl
Lean
.
Compiler
.
LCNF
.
structProjCases
source
def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
findStructCtorInfo?
(
typeName
:
Name
)
:
CoreM
(
Option
ConstructorVal
)
Equations
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
mkFieldParamsForCtorType
(
e
:
Expr
)
(
numParams
:
Nat
)
:
CompilerM
(
Array
Param
)
Equations
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
mkFieldParamsForCtorType
.
loop
(
params
:
Array
Param
)
(
e
:
Expr
)
(
numParams
:
Nat
)
:
CompilerM
(
Array
Param
)
Equations
Instances For
source
structure
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
State
:
Type
projMap :
Std.HashMap
FVarId
(
Array
FVarId
)
fvarMap :
Std.HashMap
FVarId
FVarId
Instances For
source
@[reducible, inline]
abbrev
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
M
(
α
:
Type
)
:
Type
Equations
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
M
.
run
{
α
:
Type
}
(
x
:
M
α
)
:
CompilerM
α
Equations
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
remapFVar
(
fvarId
:
FVarId
)
:
M
FVarId
Equations
Instances For
source
partial def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitCode
(
code
:
Code
)
:
M
Code
source
def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitLetValue
(
v
:
LetValue
)
:
M
LetValue
Equations
Instances For
source
partial def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitAlt
(
alt
:
Alt
)
:
M
Alt
source
def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitArg
(
arg
:
Arg
)
:
M
Arg
Equations
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
StructProjCases
.
visitDecl
(
decl
:
Decl
)
:
M
Decl
Equations
Instances For
source
def
Lean
.
Compiler
.
LCNF
.
structProjCases
:
Pass
Equations
Instances For