Equations
- Lean.Server.instInhabitedRpcProcedure = { default := { wrapper := default } }
def
Lean.Server.wrapRpcProcedure
(method : Lean.Name)
(paramType : Type)
(respType : Type)
{paramLspType : Type}
[inst : Lean.Server.RpcEncoding paramType paramLspType]
[inst : Lean.FromJson paramLspType]
{respLspType : Type}
[inst : Lean.Server.RpcEncoding respType respLspType]
[inst : Lean.ToJson respLspType]
(handler : paramType → Lean.Server.RequestM (Lean.Server.RequestTask respType))
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Server.registerBuiltinRpcProcedure
(method : Lean.Name)
(paramType : Type)
(respType : Type)
{paramLspType : Type}
[inst : Lean.Server.RpcEncoding paramType paramLspType]
[inst : Lean.FromJson paramLspType]
{respLspType : Type}
[inst : Lean.Server.RpcEncoding respType respLspType]
[inst : Lean.ToJson respLspType]
(handler : paramType → Lean.Server.RequestM (Lean.Server.RequestTask respType))
:
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.