Documentation

Lean.Widget.InteractiveCode

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

Information about a subexpression within delaborated code.

Equations
instance Lean.Widget.instToJsonRpcEncodingPacket:
{info subexprPos : Type} → [inst : Lean.ToJson info] → [inst : Lean.ToJson subexprPos] → Lean.ToJson (Lean.Widget.RpcEncodingPacket✝ info subexprPos)
Equations
  • Lean.Widget.instToJsonRpcEncodingPacket = { toJson := [anonymous] }
instance Lean.Widget.instFromJsonRpcEncodingPacket:
{info subexprPos : Type} → [inst : Lean.FromJson info] → [inst : Lean.FromJson subexprPos] → Lean.FromJson (Lean.Widget.RpcEncodingPacket✝ info subexprPos)
Equations
  • Lean.Widget.instFromJsonRpcEncodingPacket = { fromJson? := [anonymous] }
Equations
  • One or more equations did not get rendered due to their size.
@[inline]

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

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.