- eval : Lean.Environment → Lean.Options → α → Bool → IO Lean.Environment
Equations
- Lean.instMetaEval = { eval := fun env opts a hideUnit => do Lean.Eval.eval (fun x => a) hideUnit pure env }
def
Lean.runMetaEval
{α : Type u}
[inst : Lean.MetaEval α]
(env : Lean.Environment)
(opts : Lean.Options)
(a : α)
:
Equations
- Lean.runMetaEval env opts a = IO.FS.withIsolatedStreams (liftM (EIO.toBaseIO (Lean.MetaEval.eval env opts a false)))