refactor: typos in doc strings

This commit is contained in:
jstoobysmith 2025-02-12 10:34:58 +00:00
parent ea29b15e4a
commit 73717f151f
3 changed files with 12 additions and 5 deletions

View file

@ -171,6 +171,14 @@ def noLemmas : CoreM Nat := do
let x ← imports.mapM HepLean.Imports.getUserConsts
x.flatFilterSizeM fun c => return !c.isDef && (← c.name.hasPos)
/-- All docstrings present in HepLean. -/
def allDocStrings : CoreM (Array String) := do
let imports ← HepLean.allImports
let x ← imports.mapM HepLean.Imports.getUserConsts
let x' := x.flatten
let docString ← x'.mapM fun c => Lean.Name.getDocString c.name
return docString
/-- Number of definitions without a doc-string. -/
def noDefsNoDocString : CoreM Nat := do
let imports ← HepLean.allImports