refactor: Lint

This commit is contained in:
jstoobysmith 2024-08-15 10:16:42 -04:00
parent e458300359
commit 0edce53795
15 changed files with 2406 additions and 2197 deletions

View file

@ -239,6 +239,7 @@ def toIndexList (s : IndexString X) : IndexList X :=
{val := (listCharIndexStringTolistCharIndex X s.toCharList (listCharIndexString s)).map
fun x => Index.ofCharList x.1 x.2}
/-- The formation of an index list from a string `s` statisfying `listCharIndexStringBool`. -/
def toIndexList' (s : String) (hs : listCharIndexStringBool X s.toList = true) : IndexList X :=
toIndexList ⟨s, hs⟩