Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ _out
*.hash
profile.json
profile.json.gz
multi.json
single.json
*.html
71 changes: 0 additions & 71 deletions index.html

This file was deleted.

2 changes: 1 addition & 1 deletion lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:nightly-2026-01-16
leanprover/lean4:nightly-2026-01-20
1 change: 0 additions & 1 deletion multi.json

This file was deleted.

1 change: 0 additions & 1 deletion single.json

This file was deleted.

6 changes: 3 additions & 3 deletions src/verso-manual/VersoManual/Docstring.lean
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def DeclType.ofName (c : Name)
parentProjFns.mapIdxM fun i parentProj => do
let proj := mkApp (mkAppN (.const parentProj us) params) s
let type ← inferType proj >>= instantiateMVars
let projType ← withOptions (·.setInt `format.width 40 |>.setBool `pp.tagAppFns true) <| Widget.ppExprTagged type
let projType ← withOptions (·.set `format.width (40 : Int) |>.setBool `pp.tagAppFns true) <| Widget.ppExprTagged type
if let .const parentName _ := type.getAppFn then
pure ⟨parentProj, parentName, ← renderTagged none projType hlCtx, i⟩
else
Expand All @@ -222,8 +222,8 @@ def DeclType.ofName (c : Name)
allFields.filterMapM fun fieldName => do
let proj ← mkProjection s fieldName
let type ← inferType proj >>= instantiateMVars
let type' ← withOptions (·.setInt `format.width 40 |>.setBool `pp.tagAppFns true) <| (Widget.ppExprTagged type)
let projType ← withOptions (·.setInt `format.width 40 |>.setBool `pp.tagAppFns true) <| ppExpr type
let type' ← withOptions (·.set `format.width (40 : Int) |>.setBool `pp.tagAppFns true) <| (Widget.ppExprTagged type)
let projType ← withOptions (·.set `format.width (40 : Int) |>.setBool `pp.tagAppFns true) <| ppExpr type
let fieldFrom? := findField? env c fieldName
let fieldPath? := fieldFrom? >>= (getStructurePathToBaseStructure? env · c)
let fieldFrom ← fieldPath?.getD [] |>.mapM (DocName.ofName (showUniverses := false))
Expand Down
Loading