Result of inlineCandidate?
.
It contains information for inlining local and global functions.
- isLocal : Bool
- params : Array Lean.Compiler.LCNF.Param
- value : Lean.Compiler.LCNF.Code
Value (lambda expression) of the function to be inlined.
- fType : Lean.Expr
- args : Array Lean.Compiler.LCNF.Arg
- ifReduce : Bool
ifReduce = true
if the declaration being inlined was tagged withinline_if_reduce
. - recursive : Bool
recursive = true
if the declaration being inline is in a mutually recursive block.
Instances For
The arity (aka number of parameters) of the function to be inlined.
Equations
- { isLocal := isLocal, params := params, value := value, fType := fType, args := args, ifReduce := ifReduce, recursive := recursive }.arity = params.size
Instances For
Return some info
if e
should be inlined.
Equations
- One or more equations did not get rendered due to their size.