Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
6a1c18e6
Commit
6a1c18e6
authored
2 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[Extlib] removed string_split
parent
a5aa26ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/libraries/stdlib/extlib.ml
+0
-5
0 additions, 5 deletions
src/libraries/stdlib/extlib.ml
src/libraries/stdlib/extlib.mli
+0
-6
0 additions, 6 deletions
src/libraries/stdlib/extlib.mli
with
0 additions
and
11 deletions
src/libraries/stdlib/extlib.ml
+
0
−
5
View file @
6a1c18e6
...
...
@@ -370,11 +370,6 @@ let string_del_suffix ?(strict=false) suffix s =
(
String
.
sub
s
0
(
String
.
length
s
-
String
.
length
suffix
))
else
None
let
string_split
s
i
=
let
s1
=
String
.
sub
s
0
i
in
let
s2
=
String
.
sub
s
(
i
+
1
)
(
String
.
length
s
-
i
-
1
)
in
(
s1
,
s2
)
let
make_unique_name
mem
?
(
sep
=
" "
)
?
(
start
=
2
)
from
=
let
rec
build
base
id
=
let
fullname
=
base
^
sep
^
string_of_int
id
in
...
...
This diff is collapsed.
Click to expand it.
src/libraries/stdlib/extlib.mli
+
0
−
6
View file @
6a1c18e6
...
...
@@ -226,12 +226,6 @@ val string_del_suffix: ?strict:bool -> string -> string -> string option
@since Aluminium-20160501
*)
val
string_split
:
string
->
int
->
string
*
string
(** [string_split s i] returns the beginning of [s] up to char [i-1] and the
end of [s] starting from char [i+1]
@raise Invalid_argument if [i] is not in the range [[0,(length s -1)]]
@since Oxygen-20120901 *)
val
make_unique_name
:
(
string
->
bool
)
->
?
sep
:
string
->
?
start
:
int
->
string
->
int
*
string
(** [make_unique_name mem s] returns [(0, s)] when [(mem s)=false]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment