Equations
- One or more equations did not get rendered due to their size.
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
Any term t : α
with a HtmlEval α
instance
can be evaluated in a #html t
command.
This is analogous to how Lean.MetaEval
supports #eval
.
- eval : α → Lean.Elab.Command.CommandElabM ProofWidgets.Html
Instances
Equations
- ProofWidgets.instHtmlEvalHtml = { eval := fun (ht : ProofWidgets.Html) => pure ht }
instance
ProofWidgets.instHtmlEvalHtmlOfMonadLiftTCommandElabM
{m : Type → Type u_1}
[MonadLiftT m Lean.Elab.Command.CommandElabM]
:
Equations
- ProofWidgets.instHtmlEvalHtmlOfMonadLiftTCommandElabM = { eval := monadLift }
Equations
- ProofWidgets.instHtmlEvalCoreMHtml = { eval := Lean.Elab.Command.liftCoreM }
Equations
- ProofWidgets.instHtmlEvalMetaMHtml = { eval := fun (x : Lean.MetaM ProofWidgets.Html) => Lean.Elab.Command.liftTermElabM (liftM x) }
Equations
- ProofWidgets.instHtmlEvalTermElabMHtml = { eval := Lean.Elab.Command.liftTermElabM }
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implemented_by ProofWidgets.HtmlCommand.evalCommandMHtmlUnsafe]
Display a value of type Html
in the infoview.
The input can be a pure value
or a computation in any Lean metaprogramming monad
(e.g. CommandElabM Html
).
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
@[deprecated]
The html!
tactic is deprecated and does nothing.
If you have a use for it,
please open an issue on https://github.com/leanprover-community/ProofWidgets4.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- ProofWidgets.HtmlCommand.elabHtmlTac x = match x with | x => pure ()