We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
variable
Code block ```lean ... ``` and inline {lean}`...` does not see identifiers introduced by variable command.
```lean ... ```
{lean}`...`
For inline code, I'm suspecting that Elab.Term.elabTerm stx none is missing some version of runTermElabM. I'm expecting that this should work
Elab.Term.elabTerm stx none
runTermElabM
discard <| Lean.Elab.Command.runTermElabM (fun _ => Elab.Term.elabTerm stx none)
but there is no lift from CommandElabM to DocElabM
CommandElabM
DocElabM
mwe where import DemoTextbook.Exts.Exercises should probably be replaces with import Manual.Meta:
import DemoTextbook.Exts.Exercises
import Manual.Meta
import Verso.Genre.Manual import DemoTextbook.Exts.Exercises open Verso.Genre Manual open DemoTextbook.Exts (lean) variable (X : Type) #doc (Manual) "Test" => Array {lean}`Array X` ```lean #check X ```
The text was updated successfully, but these errors were encountered:
This seems to be a bug with the reference manual code, rather than the contents of this one.
In any case, I believe I just pushed a fix over there:
It does require that the variable commands be in code blocks. This isn't ideal, but it's what I can make happen at just this moment.
Sorry, something went wrong.
No branches or pull requests
Code block
```lean ... ```
and inline{lean}`...`
does not see identifiers introduced byvariable
command.For inline code, I'm suspecting that
Elab.Term.elabTerm stx none
is missing some version ofrunTermElabM
.I'm expecting that this should work
but there is no lift from
CommandElabM
toDocElabM
mwe where
import DemoTextbook.Exts.Exercises
should probably be replaces withimport Manual.Meta
:The text was updated successfully, but these errors were encountered: