File tree Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -64,20 +64,50 @@ module Option = struct
64
64
end
65
65
66
66
module String = struct
67
- include Stdune. String
67
+ type t = string
68
68
69
- let strip = trim
69
+ include struct
70
+ open Stdune.String
71
+ module Map = Map
72
+ end
73
+
74
+ let to_dyn = Dyn. string
70
75
71
76
include struct
72
77
open Base.String
73
78
79
+ let unsafe_get = unsafe_get
80
+ let get = get
81
+ let split_lines = split_lines
82
+ let sub = sub
83
+ let equal = equal
84
+ let rsplit2 = rsplit2
85
+ let concat = concat
86
+ let length = length
87
+ let strip = strip
88
+ let trim = strip
89
+ let drop = drop_prefix
90
+ let hash = hash
91
+ let drop_prefix = chop_prefix
92
+ let is_prefix = is_prefix
93
+ let map = map
94
+ let lowercase_ascii = lowercase
95
+ let capitalize_ascii = capitalize
96
+ let capitalize = capitalize
97
+ let split_on_char t ~sep = split t ~on: sep
98
+ let is_empty = is_empty
99
+ let split = split
74
100
let chop_prefix_if_exists = chop_prefix_if_exists
75
101
let chop_suffix_if_exists = chop_suffix_if_exists
102
+ let drop_prefix_if_exists = chop_prefix_if_exists
103
+ let take = prefix
76
104
let substr_index_exn = substr_index_exn
77
105
let substr_index = substr_index
78
106
let prefix = prefix
79
107
let lfindi = lfindi
80
108
let filter = filter
109
+ let is_suffix = is_suffix
110
+ let extract_words = Stdune.String. extract_words
81
111
end
82
112
83
113
let findi =
You can’t perform that action at this time.
0 commit comments