Skip to content

refactor: reorganize functions for skipping/dropping prefixes/suffixes of strings#12988

Merged
TwoFX merged 4 commits intoleanprover:masterfrom
TwoFX:dropprefix-3
Mar 19, 2026
Merged

refactor: reorganize functions for skipping/dropping prefixes/suffixes of strings#12988
TwoFX merged 4 commits intoleanprover:masterfrom
TwoFX:dropprefix-3

Conversation

@TwoFX
Copy link
Copy Markdown
Member

@TwoFX TwoFX commented Mar 19, 2026

This PR introduces the functions String.Slice.skipPrefix?, String.Slice.Pos.skip?, String.Slice.skipPrefixWhile, String.Slice.Pos.skipWhile and redefines String.Slice.takeWhile and String.Slice.dropWhile to use these new functions.

@TwoFX TwoFX requested a review from kim-em as a code owner March 19, 2026 15:13
@TwoFX TwoFX added the changelog-library Library label Mar 19, 2026
@TwoFX TwoFX enabled auto-merge March 19, 2026 15:13
@TwoFX TwoFX disabled auto-merge March 19, 2026 15:16
@TwoFX TwoFX enabled auto-merge March 19, 2026 15:34
@TwoFX TwoFX added this pull request to the merge queue Mar 19, 2026
Merged via the queue into leanprover:master with commit 0f73066 Mar 19, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant