@[reducible, inline]
Instances For
@[instance_reducible]
instance Lean.Elab.OpenDecl.instMonadResolveNameM {m : Type → Type} [Monad m] [MonadLiftT (ST IO.RealWorld) m] :
Equations
- One or more equations did not get rendered due to their size.
def Lean.Elab.OpenDecl.resolveId {m : Type → Type} [Monad m] [MonadEnv m] [MonadExceptOf Exception m] [MonadRef m] [AddErrorMessageContext m] [AddMessageContext m] [MonadLog m] [MonadOptions m] [MonadResolveName m] (ns : Name) (idStx : Syntax) :
m Name
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Lean.Elab.OpenDecl.resolveNameUsingNamespacesCore {m : Type → Type} [Monad m] [MonadEnv m] [MonadExceptOf Exception m] [MonadRef m] [AddErrorMessageContext m] [AddMessageContext m] [MonadLog m] [MonadOptions m] [MonadResolveName m] (nss : List Name) (idStx : Syntax) :
m Name
Uniquely resolves the identifier idStx in the provided namespaces nss.
If the identifier does not indicate a name in exactly one of the namespaces, an exception is thrown.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Lean.Elab.OpenDecl.elabOpenDecl {m : Type → Type} [Monad m] [MonadEnv m] [MonadExceptOf Exception m] [MonadRef m] [AddMessageContext m] [MonadLiftT (ST IO.RealWorld) m] [MonadLog m] [MonadOptions m] [MonadResolveName m] [MonadInfoTree m] (stx : TSyntax `Lean.Parser.Command.openDecl) :
Equations
- One or more equations did not get rendered due to their size.
Instances For
def Lean.Elab.OpenDecl.resolveNameUsingNamespaces {m : Type → Type} [Monad m] [MonadEnv m] [MonadExceptOf Exception m] [MonadRef m] [AddMessageContext m] [MonadLiftT (ST IO.RealWorld) m] [MonadLog m] [MonadOptions m] [MonadResolveName m] (nss : List Name) (idStx : Ident) :
m Name
Equations
- One or more equations did not get rendered due to their size.