def
Lean.addDocStringCore
{m : Type → Type}
[Monad m]
[MonadError m]
[MonadEnv m]
(declName : Name)
(docString : String)
:
m Unit
Equations
Instances For
def
Lean.findSimpleDocString?
(env : Environment)
(declName : Name)
(includeBuiltin : Bool := true)
:
Finds a docstring without performing any alias resolution or enrichment with extra metadata.
Docstrings to be shown to a user should be looked up with Lean.findDocString?
instead.
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
def
Lean.getDocStringText
{m : Type → Type}
[Monad m]
[MonadError m]
(stx : TSyntax `Lean.Parser.Command.docComment)
:
m String