Closed
Conversation
Contributor
Author
|
One disputable aspect of the proposal is that it doesn't respect |
Contributor
Author
|
Let's not even consider this. |
Merged
This was referenced Mar 14, 2019
Closed
Closed
dra27
referenced
this pull request
in dra27/ocaml
Mar 20, 2019
This uses `extract_blank_separated_words` instead of splitting by hand. Closes #13
ulrikstrid
pushed a commit
to ulrikstrid/ocaml
that referenced
this pull request
Sep 25, 2019
Patch printtyp
poechsel
pushed a commit
to poechsel/ocaml
that referenced
this pull request
Jul 2, 2021
DMaroo
pushed a commit
to DMaroo/ocaml
that referenced
this pull request
Jan 6, 2024
Add caml_trigger_verified_gc primitive
gasche
pushed a commit
that referenced
this pull request
Sep 27, 2024
turly221
pushed a commit
to scantist-ossops-m2/ocaml
that referenced
this pull request
Nov 30, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As a follow up to pull request #10. This pull request adds
String.{cut,rcut}which cuts a string in two at a given non empty separatorsepstarting either from the beginning of the string or from the end. The signature forStringLabelsis :These functions have the following invariants. First for any non empty
sepandssuch thatsepis inswe have:Then for any
ssuch thatsepdoesn't occur ins:Here is the result of
String.{cut,rcut}on a few edge cases.