lean4-htt/src/Init/Data/String
Markus Himmel fba166eea0
chore: expose more String.Slice functions on String (#11308)
This PR redefines `front` and `back` on `String` to go through
`String.Slice` and adds the new `String` functions `front?`, `back?`,
`positions`, `chars`, `revPositions`, `revChars`, `byteIterator`,
`revBytes`, `lines`.
2025-11-23 15:33:16 +00:00
..
Lemmas refactor: String.foldl and String.isNat go through String.Slice (#11289) 2025-11-21 11:17:50 +00:00
Pattern feat: string patterns for decidable predicates on Char (#11285) 2025-11-20 15:30:37 +00:00
Basic.lean chore: expose more String.Slice functions on String (#11308) 2025-11-23 15:33:16 +00:00
Bootstrap.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00
Decode.lean perf: improve performance of String.ValidPos (#11142) 2025-11-11 15:30:47 +00:00
Defs.lean perf: less allocations when using string patterns (#11255) 2025-11-19 13:06:27 +00:00
Extra.lean refactor: String.foldl and String.isNat go through String.Slice (#11289) 2025-11-21 11:17:50 +00:00
Iterator.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00
Legacy.lean refactor: use String.split instead of String.splitOn or String.splitToList (#11250) 2025-11-19 09:35:19 +00:00
Lemmas.lean feat: add Std.Trichotomous (#10945) 2025-11-18 13:20:53 +00:00
Modify.lean refactor: better name for String.replaceStart and variants (#11290) 2025-11-20 16:42:27 +00:00
Pattern.lean feat: new String.Slice API (#10514) 2025-09-25 12:18:52 +00:00
PosRaw.lean chore: add deprecations for duplicated theorems (#10967) 2025-10-29 05:26:16 +00:00
Repr.lean refactor: String.foldl and String.isNat go through String.Slice (#11289) 2025-11-21 11:17:50 +00:00
Search.lean chore: expose more String.Slice functions on String (#11308) 2025-11-23 15:33:16 +00:00
Slice.lean chore: expose more String.Slice functions on String (#11308) 2025-11-23 15:33:16 +00:00
Stream.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00
Substring.lean refactor: String.foldl and String.isNat go through String.Slice (#11289) 2025-11-21 11:17:50 +00:00
TakeDrop.lean feat: string patterns for decidable predicates on Char (#11285) 2025-11-20 15:30:37 +00:00
Termination.lean refactor: String.foldl and String.isNat go through String.Slice (#11289) 2025-11-21 11:17:50 +00:00
ToSlice.lean refactor: redefine String.replace (#10986) 2025-10-29 07:48:33 +00:00