Return true
if mdata
should be preserved.
Right now, we don't preserve any MData
, but this may
change in the future when we add support for debugging information
Equations
Instances For
Return true
if e
is a lcCast
application.
Equations
- Lean.Compiler.LCNF.isLcCast? e = if Lean.Expr.isAppOfArity e `lcCast 3 = true then some (Lean.Expr.appArg! e) else none
Instances For
Equations
- Lean.Compiler.LCNF.CasesInfo.numAlts c = Array.size c.altNumParams
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
List of types that have builtin runtime support
Equations
- Lean.Compiler.LCNF.builtinRuntimeTypes = [`String, `UInt8, `UInt16, `UInt32, `UInt64, `USize, `Float, `Thunk, `Task, `Array, `ByteArray, `FloatArray, `Nat, `Int]
Instances For
Return true
iff declName
is the name of a type with builtin support in the runtime.