Documentation

Lean.Widget.InteractiveCode

RPC infrastructure for storing and formatting code fragments, in particular Exprs, with environment and subexpression information.

structure Lean.Widget.SubexprInfo :
Type

Information about a subexpression within delaborated code.

Instances For
    Equations
    @[inline]

    Pretty-printed syntax (usually but not necessarily an Expr) with embedded Infos.

    Equations
    def Lean.Widget.CodeWithInfos.mergePosMap {m : TypeType u_1} {α : Type u_2} [inst : Monad m] (merger : Lean.Widget.SubexprInfoαm Lean.Widget.SubexprInfo) (pm : Lean.SubExpr.PosMap α) (tt : Lean.Widget.CodeWithInfos) :
    Equations
    • One or more equations did not get rendered due to their size.
    Equations

    Tags a pretty-printed Expr with infos from the delaborator.

    Equations
    Equations
    • One or more equations did not get rendered due to their size.