Documentation

Lean.Message

def Lean.mkErrorStringWithPos (fileName : String) (pos : Lean.Position) (msg : String) (endPos : optParam (Option Lean.Position) none) :
Equations
  • One or more equations did not get rendered due to their size.
structure Lean.NamingContext:
Type
Equations
  • One or more equations did not get rendered due to their size.
Equations
Equations
  • Lean.MessageData.mkPPContext nCtx ctx = { env := ctx.env, mctx := ctx.mctx, lctx := ctx.lctx, opts := ctx.opts, currNamespace := nCtx.currNamespace, openDecls := nCtx.openDecls }
Equations
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.
Equations
  • One or more equations did not get rendered due to their size.
structure Lean.Message:
Type
Equations
  • Lean.instInhabitedMessage = { default := { fileName := default, pos := default, endPos := default, severity := default, caption := default, data := default } }
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.
Equations
Equations
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.
def Lean.MessageLog.forM {m : TypeType} [inst : Monad m] (log : Lean.MessageLog) (f : Lean.Messagem Unit) :
Equations
instance Lean.instAddMessageContext (m : TypeType) (n : TypeType) [inst : MonadLift m n] [inst : Lean.AddMessageContext m] :
Equations
def Lean.addMessageContextPartial {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] [inst : Lean.MonadOptions m] (msgData : Lean.MessageData) :
Equations
  • One or more equations did not get rendered due to their size.
def Lean.addMessageContextFull {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] [inst : Lean.MonadMCtx m] [inst : Lean.MonadLCtx m] [inst : Lean.MonadOptions m] (msgData : Lean.MessageData) :
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.
instance Lean.instToMessageData {α : Type} [inst : Lean.ToFormat α] :
Equations
Equations
Equations
Equations
Equations
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.
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.