chore: update toolchain
parent
f221bbdcff
commit
345036e800
|
@ -166,7 +166,7 @@ inductive DocInfo where
|
|||
Turns an `Expr` into a pretty printed `CodeWithInfos`.
|
||||
-/
|
||||
def prettyPrintTerm (expr : Expr) : MetaM CodeWithInfos := do
|
||||
let (fmt, infos) ← PrettyPrinter.ppExprWithInfos expr
|
||||
let ⟨fmt, infos⟩ ← PrettyPrinter.ppExprWithInfos expr
|
||||
let tt := TaggedText.prettyTagged fmt
|
||||
let ctx := {
|
||||
env := ← getEnv
|
||||
|
@ -177,7 +177,7 @@ def prettyPrintTerm (expr : Expr) : MetaM CodeWithInfos := do
|
|||
fileMap := default,
|
||||
ngen := ← getNGen
|
||||
}
|
||||
pure <| tagExprInfos ctx infos tt
|
||||
pure <| tagCodeInfos ctx infos tt
|
||||
|
||||
def isInstance (declName : Name) : MetaM Bool := do
|
||||
pure <| (instanceExtension.getState (←getEnv)).instanceNames.contains declName
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
{"git":
|
||||
{"url": "https://github.com/hargonix/LeanInk",
|
||||
"subDir?": null,
|
||||
"rev": "9f3101452135964ac9107ec8e9910bfd14022bbc",
|
||||
"rev": "2447df5cc6e48eb965c3c3fba87e46d353b5e9f1",
|
||||
"name": "leanInk",
|
||||
"inputRev?": "doc-gen"}},
|
||||
{"git":
|
||||
|
|
|
@ -1 +1 @@
|
|||
leanprover/lean4:nightly-2022-12-05
|
||||
leanprover/lean4:nightly-2022-12-16
|
||||
|
|
Loading…
Reference in New Issue