docs: Add doc strings for all defs

This commit is contained in:
jstoobysmith 2024-11-12 09:58:07 +00:00
parent fc2065b744
commit a5c1b88f05
2 changed files with 40 additions and 5 deletions

View file

@ -21,7 +21,7 @@ def Imports.NoDocStringDef (imp : Import) : MetaM UInt32 := do
if loc.toList.length > 0 then
IO.println "\n"
IO.println s!"Module {imp.module} has the following definitions without doc strings:"
IO.println (String.intercalate "\n" loc.toList)
IO.println (String.intercalate "\n" loc.toList.mergeSort)
pure 0
def Imports.NoDocStringLemma (imp : Import) : MetaM UInt32 := do
@ -33,7 +33,7 @@ def Imports.NoDocStringLemma (imp : Import) : MetaM UInt32 := do
if loc.toList.length > 0 then
IO.println "\n"
IO.println s!"Module {imp.module} has the following lemmas without doc strings:"
IO.println (String.intercalate "\n" loc.toList)
IO.println (String.intercalate "\n" loc.toList.mergeSort)
pure 0
unsafe def main (args : List String) : IO UInt32 := do