Documentation

Lean.Elab.Open

@[inline]
abbrev Lean.Elab.OpenDecl.M {m : TypeType} (α : Type) :
Type
Equations
instance Lean.Elab.OpenDecl.instMonadResolveNameM {m : TypeType} [inst : Monad m] [inst : MonadLiftT (ST IO.RealWorld) m] :
Lean.MonadResolveName Lean.Elab.OpenDecl.M
Equations
  • Lean.Elab.OpenDecl.instMonadResolveNameM = { getCurrNamespace := do let a ← get pure a.currNamespace, getOpenDecls := do let a ← get pure a.openDecls }
def Lean.Elab.OpenDecl.resolveId {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] [inst : MonadExceptOf Lean.Exception m] [inst : Lean.MonadRef m] [inst : Lean.AddMessageContext m] [inst : MonadLiftT (ST IO.RealWorld) m] (ns : Lean.Name) (idStx : Lean.Syntax) :
Equations
  • One or more equations did not get rendered due to their size.
def Lean.Elab.OpenDecl.elabOpenDecl {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] [inst : MonadExceptOf Lean.Exception m] [inst : Lean.MonadRef m] [inst : Lean.AddMessageContext m] [inst : MonadLiftT (ST IO.RealWorld) m] [inst : Lean.MonadLog m] [inst : Lean.MonadResolveName m] (openDeclStx : Lean.Syntax) :
Equations
  • One or more equations did not get rendered due to their size.
def Lean.Elab.OpenDecl.resolveOpenDeclId {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] [inst : MonadExceptOf Lean.Exception m] [inst : Lean.MonadRef m] [inst : Lean.AddMessageContext m] [inst : MonadLiftT (ST IO.RealWorld) m] [inst : Lean.MonadResolveName m] (ns : Lean.Name) (idStx : Lean.Syntax) :
Equations
  • One or more equations did not get rendered due to their size.
def Lean.Elab.OpenDecl.resolveNameUsingNamespaces {m : TypeType} [inst : Monad m] [inst : Lean.MonadEnv m] [inst : MonadExceptOf Lean.Exception m] [inst : Lean.MonadRef m] [inst : Lean.AddMessageContext m] [inst : MonadLiftT (ST IO.RealWorld) m] [inst : Lean.MonadLog m] [inst : Lean.MonadResolveName m] (nss : List Lean.Name) (idStx : Lean.Syntax) :
Equations
  • One or more equations did not get rendered due to their size.