@[reducible, inline]
Equations
- Lean.Compiler.LCNF.Probe α β = (Array α → Lean.Compiler.LCNF.CompilerM (Array β))
@[inline]
Equations
- Lean.Compiler.LCNF.Probe.map f data = Array.mapM f data
@[inline]
Equations
- Lean.Compiler.LCNF.Probe.filter f data = Array.filterM f data
@[inline]
Equations
- Lean.Compiler.LCNF.Probe.getLetValues decls = do let __discr ← (Lean.Compiler.LCNF.Probe.getLetValues.start decls).run #[] match __discr with | (fst, res) => pure res
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Compiler.LCNF.Probe.getJps decls = do let __discr ← (Lean.Compiler.LCNF.Probe.getJps.start decls).run #[] match __discr with | (fst, res) => pure res
Equations
Equations
@[inline]
Equations
- Lean.Compiler.LCNF.Probe.declNames = Lean.Compiler.LCNF.Probe.map fun (decl : Lean.Compiler.LCNF.Decl) => pure decl.name
@[inline]
Equations
- Lean.Compiler.LCNF.Probe.toString = Lean.Compiler.LCNF.Probe.map fun (x : α) => pure (toString x)
@[inline]
Equations
- Lean.Compiler.LCNF.Probe.sum data = pure #[Array.foldl (fun (x1 x2 : Nat) => x1 + x2) 0 data]
@[inline]
Equations
- Lean.Compiler.LCNF.Probe.tail n data = pure (let a := data; ↑(a.toSubarray (data.size - n)))
@[inline]
Equations
- Lean.Compiler.LCNF.Probe.head n data = pure ↑(data.toSubarray 0 n)
def
Lean.Compiler.LCNF.Probe.runOnModule
{β : Type}
(moduleName : Name)
(probe : Probe Decl β)
(phase : Phase := Phase.base)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Compiler.LCNF.Probe.runGlobally
{β : Type}
(probe : Probe Decl β)
(phase : Phase := Phase.base)
:
Equations
- One or more equations did not get rendered due to their size.