Documentation

Lean.Message

def Lean.mkErrorStringWithPos (fileName : String) (pos : Lean.Position) (msg : String) (endPos : optParam (Option Lean.Position) none) :
Equations
structure Lean.NamingContext :
Type
Equations
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
structure Lean.Message :
Type
Equations
  • Lean.instInhabitedMessage = { default := { fileName := default, pos := default, endPos := default, severity := default, caption := default, data := default } }
def Lean.Message.toString (msg : Lean.Message) (includeEndPos : optParam Bool false) :
Equations
Equations
Equations
Equations
Equations
Equations
Equations
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
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
instance Lean.instToMessageData {α : Type} [inst : Lean.ToFormat α] :
Equations
instance Lean.instToMessageDataList {α : Type} [inst : Lean.ToMessageData α] :
Equations
Equations
Equations
Equations
Equations
Equations